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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxColour swig_types[0]
212 #define SWIGTYPE_p_wxObject swig_types[1]
213 #define SWIGTYPE_p_wxVisualAttributes swig_types[2]
214 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
215 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
216 #define SWIGTYPE_p_wxWindow swig_types[5]
217 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
220 #define SWIGTYPE_p_wxFont swig_types[9]
221 #define SWIGTYPE_p_wxDateTime swig_types[10]
222 #define SWIGTYPE_p_wxControl swig_types[11]
223 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
224 #define SWIGTYPE_p_wxEvent swig_types[13]
225 static swig_type_info
*swig_types
[15];
227 /* -------- TYPES TABLE (END) -------- */
230 /*-----------------------------------------------
231 @(target):= _calendar.so
232 ------------------------------------------------*/
233 #define SWIG_init init_calendar
235 #define SWIG_name "_calendar"
237 /* Auxiliar swig macros that appear in the header */
239 #define SWIG_OLDOBJ 1
240 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
241 #define SWIG_PYSTR SWIG_NEWOBJ + 1
244 #define SWIGSTATICINLINE(a) static inline a
245 #define SWIGSTATIC(a) static a
246 #define swig_new_array(size,Type) (new Type[(size)])
247 #define swig_delete(cptr) delete cptr
248 #define swig_delete_array(cptr) delete[] cptr
249 #define swig_const_cast(a,Type) const_cast<Type >(a)
250 #define swig_static_cast(a,Type) static_cast<Type >(a)
251 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
252 #define swig_new_copy(ptr,Type) (new Type(*ptr))
253 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
257 #define SWIGSTATICINLINE(a) static a
258 #define SWIGSTATIC(a) static a
259 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
260 #define swig_delete(cptr) free((char*)cptr)
261 #define swig_delete_array(cptr) free((char*)cptr)
262 #define swig_const_cast(a,Type) (Type)(a)
263 #define swig_static_cast(a,Type) (Type)(a)
264 #define swig_reinterpret_cast(a,Type) (Type)(a)
265 #define swig_numeric_cast(a,Type) (Type)(a)
266 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
268 #endif /* __cplusplus */
271 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
272 #define SWIG_From_signed_SS_char PyInt_FromLong
274 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
275 #define SWIG_From_unsigned_SS_char PyInt_FromLong
277 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
278 #define SWIG_From_short PyInt_FromLong
280 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
281 #define SWIG_From_unsigned_SS_short PyInt_FromLong
283 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
284 #define SWIG_From_int PyInt_FromLong
286 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
287 #define SWIG_From_long PyInt_FromLong
289 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
290 #define SWIG_From_float PyFloat_FromDouble
292 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
293 #define SWIG_From_double PyFloat_FromDouble
297 #include "wx/wxPython/wxPython.h"
298 #include "wx/wxPython/pyclasses.h"
300 #include <wx/calctrl.h>
306 SWIGSTATICINLINE(int)
307 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
310 if (value
< min_value
) {
312 PyErr_Format(PyExc_OverflowError
,
313 "value %ld is less than '%s' minimum %ld",
314 value
, errmsg
, min_value
);
317 } else if (value
> max_value
) {
319 PyErr_Format(PyExc_OverflowError
,
320 "value %ld is greater than '%s' maximum %ld",
321 value
, errmsg
, max_value
);
329 // See my_fragments.i
330 SWIGSTATICINLINE(int)
331 SWIG_AsVal_long(PyObject
* obj
, long* val
)
333 if (PyNumber_Check(obj
)) {
334 if (val
) *val
= PyInt_AsLong(obj
);
338 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
339 obj
->ob_type
->tp_name
);
340 PyErr_SetObject(PyExc_TypeError
, errmsg
);
347 #if INT_MAX != LONG_MAX
348 SWIGSTATICINLINE(int)
349 SWIG_AsVal_int(PyObject
*obj
, int *val
)
351 const char* errmsg
= val
? "int" : 0;
353 if (SWIG_AsVal_long(obj
, &v
)) {
354 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
355 if (val
) *val
= swig_numeric_cast(v
, int);
364 PyErr_SetString(PyExc_TypeError
, "an int is expected");
369 SWIGSTATICINLINE(int)
370 SWIG_AsVal_int(PyObject
*obj
, int *val
)
372 return SWIG_AsVal_long(obj
,(long*)val
);
377 SWIGSTATICINLINE(int)
378 SWIG_As_int(PyObject
* obj
)
381 if (!SWIG_AsVal_int(obj
, &v
)) {
383 this is needed to make valgrind/purify happier. the other
384 solution is throw an exception, but since this code should work
387 memset((void*)&v
, 0, sizeof(int));
393 SWIGSTATICINLINE(int)
394 SWIG_Check_int(PyObject
* obj
)
396 return SWIG_AsVal_int(obj
, (int*)0);
400 SWIGSTATICINLINE(int)
401 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
403 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
404 if (obj
== Py_True
) {
405 if (val
) *val
= true;
408 if (obj
== Py_False
) {
409 if (val
) *val
= false;
413 if (SWIG_AsVal_int(obj
, &res
)) {
414 if (val
) *val
= (bool)res
;
418 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
424 SWIGSTATICINLINE(bool)
425 SWIG_As_bool(PyObject
* obj
)
428 if (!SWIG_AsVal_bool(obj
, &v
)) {
430 this is needed to make valgrind/purify happier. the other
431 solution is throw an exception, but since this code should work
434 memset((void*)&v
, 0, sizeof(bool));
440 SWIGSTATICINLINE(int)
441 SWIG_Check_bool(PyObject
* obj
)
443 return SWIG_AsVal_bool(obj
, (bool*)0);
446 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
448 SWIGSTATICINLINE(long)
449 SWIG_As_long(PyObject
* obj
)
452 if (!SWIG_AsVal_long(obj
, &v
)) {
454 this is needed to make valgrind/purify happier. the other
455 solution is throw an exception, but since this code should work
458 memset((void*)&v
, 0, sizeof(long));
464 SWIGSTATICINLINE(int)
465 SWIG_Check_long(PyObject
* obj
)
467 return SWIG_AsVal_long(obj
, (long*)0);
471 // See my_fragments.i
472 SWIGSTATICINLINE(int)
473 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
476 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
477 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
481 *val
= (unsigned long)v
;
486 SWIGSTATICINLINE(unsigned long)
487 SWIG_As_unsigned_SS_long(PyObject
* obj
)
490 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
492 this is needed to make valgrind/purify happier. the other
493 solution is throw an exception, but since this code should work
496 memset((void*)&v
, 0, sizeof(unsigned long));
502 SWIGSTATICINLINE(int)
503 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
505 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
508 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
509 wxDateTime
* date
= new wxDateTime
;
510 wxDateTime::WeekDay wd
;
511 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
512 bool blocked
= wxPyBeginBlockThreads();
513 PyObject
* tup
= PyTuple_New(3);
514 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
515 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
516 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
517 wxPyEndBlockThreads(blocked
);
523 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
525 wxColour
const &arg1_defvalue
= wxNullColour
;
526 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
527 wxColour
const &arg2_defvalue
= wxNullColour
;
528 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
529 wxColour
const &arg3_defvalue
= wxNullColour
;
530 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
531 wxFont
const &arg4_defvalue
= wxNullFont
;
532 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
533 int arg5
= (int) wxCAL_BORDER_NONE
;
534 wxCalendarDateAttr
*result
;
538 PyObject
* obj0
= 0 ;
539 PyObject
* obj1
= 0 ;
540 PyObject
* obj2
= 0 ;
541 PyObject
* obj3
= 0 ;
542 PyObject
* obj4
= 0 ;
544 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
551 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
567 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
571 PyErr_SetString(PyExc_TypeError
,"null reference");
576 arg5
= (int)SWIG_As_int(obj4
);
577 if (PyErr_Occurred()) SWIG_fail
;
580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
581 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
583 wxPyEndAllowThreads(__tstate
);
584 if (PyErr_Occurred()) SWIG_fail
;
586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
593 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
595 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
598 PyObject
* obj0
= 0 ;
599 PyObject
* obj1
= 0 ;
601 (char *) "self",(char *) "colText", NULL
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) SWIG_fail
;
618 Py_INCREF(Py_None
); resultobj
= Py_None
;
625 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
627 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
630 PyObject
* obj0
= 0 ;
631 PyObject
* obj1
= 0 ;
633 (char *) "self",(char *) "colBack", NULL
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) SWIG_fail
;
650 Py_INCREF(Py_None
); resultobj
= Py_None
;
657 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
659 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
662 PyObject
* obj0
= 0 ;
663 PyObject
* obj1
= 0 ;
665 (char *) "self",(char *) "col", NULL
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
673 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) SWIG_fail
;
682 Py_INCREF(Py_None
); resultobj
= Py_None
;
689 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
691 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
693 PyObject
* obj0
= 0 ;
694 PyObject
* obj1
= 0 ;
696 (char *) "self",(char *) "font", NULL
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
706 PyErr_SetString(PyExc_TypeError
,"null reference");
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 (arg1
)->SetFont((wxFont
const &)*arg2
);
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) SWIG_fail
;
716 Py_INCREF(Py_None
); resultobj
= Py_None
;
723 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
725 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
727 PyObject
* obj0
= 0 ;
728 PyObject
* obj1
= 0 ;
730 (char *) "self",(char *) "border", NULL
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
736 arg2
= (int)SWIG_As_int(obj1
);
737 if (PyErr_Occurred()) SWIG_fail
;
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) SWIG_fail
;
745 Py_INCREF(Py_None
); resultobj
= Py_None
;
752 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
754 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
756 PyObject
* obj0
= 0 ;
757 PyObject
* obj1
= 0 ;
759 (char *) "self",(char *) "holiday", NULL
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
765 arg2
= (bool)SWIG_As_bool(obj1
);
766 if (PyErr_Occurred()) SWIG_fail
;
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 (arg1
)->SetHoliday(arg2
);
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) SWIG_fail
;
774 Py_INCREF(Py_None
); resultobj
= Py_None
;
781 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
783 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
785 PyObject
* obj0
= 0 ;
787 (char *) "self", NULL
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) SWIG_fail
;
801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
809 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
811 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
813 PyObject
* obj0
= 0 ;
815 (char *) "self", NULL
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) SWIG_fail
;
829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
837 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
839 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
841 PyObject
* obj0
= 0 ;
843 (char *) "self", NULL
846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) SWIG_fail
;
857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
865 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
867 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
869 PyObject
* obj0
= 0 ;
871 (char *) "self", NULL
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) SWIG_fail
;
885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
893 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
895 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
897 PyObject
* obj0
= 0 ;
899 (char *) "self", NULL
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) SWIG_fail
;
913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
921 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
923 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
925 PyObject
* obj0
= 0 ;
927 (char *) "self", NULL
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) SWIG_fail
;
941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
949 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
951 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
953 PyObject
* obj0
= 0 ;
955 (char *) "self", NULL
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) SWIG_fail
;
969 wxColour
* resultptr
;
970 resultptr
= new wxColour((wxColour
&) result
);
971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
979 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
981 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
983 PyObject
* obj0
= 0 ;
985 (char *) "self", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
999 wxColour
* resultptr
;
1000 resultptr
= new wxColour((wxColour
&) result
);
1001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1009 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
*resultobj
;
1011 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1013 PyObject
* obj0
= 0 ;
1015 (char *) "self", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
1020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
1025 wxPyEndAllowThreads(__tstate
);
1026 if (PyErr_Occurred()) SWIG_fail
;
1029 wxColour
* resultptr
;
1030 resultptr
= new wxColour((wxColour
&) result
);
1031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1039 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
*resultobj
;
1041 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1043 PyObject
* obj0
= 0 ;
1045 (char *) "self", NULL
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
1049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
1050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1060 resultptr
= new wxFont((wxFont
&) result
);
1061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1069 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
*resultobj
;
1071 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
1073 PyObject
* obj0
= 0 ;
1075 (char *) "self", NULL
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
1079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
1080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) SWIG_fail
;
1088 resultobj
= SWIG_From_int((int)result
);
1095 static PyObject
* CalendarDateAttr_swigregister(PyObject
*, PyObject
*args
) {
1097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1098 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
1100 return Py_BuildValue((char *)"");
1102 static PyObject
*_wrap_new_CalendarEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
*resultobj
;
1104 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1106 wxCalendarEvent
*result
;
1107 PyObject
* obj0
= 0 ;
1108 PyObject
* obj1
= 0 ;
1110 (char *) "cal",(char *) "type", NULL
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1116 arg2
= (wxEventType
)SWIG_As_int(obj1
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1132 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
*resultobj
;
1134 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1136 PyObject
* obj0
= 0 ;
1138 (char *) "self", NULL
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1152 wxDateTime
* resultptr
;
1153 resultptr
= new wxDateTime((wxDateTime
&) result
);
1154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1162 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1164 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1165 wxDateTime
*arg2
= 0 ;
1166 PyObject
* obj0
= 0 ;
1167 PyObject
* obj1
= 0 ;
1169 (char *) "self",(char *) "date", NULL
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1179 PyErr_SetString(PyExc_TypeError
,"null reference");
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1189 Py_INCREF(Py_None
); resultobj
= Py_None
;
1196 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
*resultobj
;
1198 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1203 (char *) "self",(char *) "wd", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 arg2
= (int)SWIG_As_int(obj1
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1218 Py_INCREF(Py_None
); resultobj
= Py_None
;
1225 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
*resultobj
;
1227 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1229 PyObject
* obj0
= 0 ;
1231 (char *) "self", NULL
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_From_int((int)result
);
1251 static PyObject
* CalendarEvent_swigregister(PyObject
*, PyObject
*args
) {
1253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1254 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1256 return Py_BuildValue((char *)"");
1258 static int _wrap_CalendarNameStr_set(PyObject
*) {
1259 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1264 static PyObject
*_wrap_CalendarNameStr_get() {
1269 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1271 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1278 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxWindow
*arg1
= (wxWindow
*) 0 ;
1281 int arg2
= (int) -1 ;
1282 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1283 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1288 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1289 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1291 wxCalendarCtrl
*result
;
1294 bool temp7
= false ;
1295 PyObject
* obj0
= 0 ;
1296 PyObject
* obj1
= 0 ;
1297 PyObject
* obj2
= 0 ;
1298 PyObject
* obj3
= 0 ;
1299 PyObject
* obj4
= 0 ;
1300 PyObject
* obj5
= 0 ;
1301 PyObject
* obj6
= 0 ;
1303 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1310 arg2
= (int)SWIG_As_int(obj1
);
1311 if (PyErr_Occurred()) SWIG_fail
;
1314 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1318 PyErr_SetString(PyExc_TypeError
,"null reference");
1325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1335 arg6
= (long)SWIG_As_long(obj5
);
1336 if (PyErr_Occurred()) SWIG_fail
;
1340 arg7
= wxString_in_helper(obj6
);
1341 if (arg7
== NULL
) SWIG_fail
;
1346 if (!wxPyCheckForApp()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1368 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxCalendarCtrl
*result
;
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1377 if (!wxPyCheckForApp()) SWIG_fail
;
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1391 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
*resultobj
;
1393 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1394 wxWindow
*arg2
= (wxWindow
*) 0 ;
1396 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1397 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1402 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1403 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1404 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1408 bool temp8
= false ;
1409 PyObject
* obj0
= 0 ;
1410 PyObject
* obj1
= 0 ;
1411 PyObject
* obj2
= 0 ;
1412 PyObject
* obj3
= 0 ;
1413 PyObject
* obj4
= 0 ;
1414 PyObject
* obj5
= 0 ;
1415 PyObject
* obj6
= 0 ;
1416 PyObject
* obj7
= 0 ;
1418 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1426 arg3
= (int)SWIG_As_int(obj2
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1429 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1433 PyErr_SetString(PyExc_TypeError
,"null reference");
1440 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1446 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1450 arg7
= (long)SWIG_As_long(obj6
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1455 arg8
= wxString_in_helper(obj7
);
1456 if (arg8
== NULL
) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1484 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1487 wxDateTime
*arg2
= 0 ;
1488 PyObject
* obj0
= 0 ;
1489 PyObject
* obj1
= 0 ;
1491 (char *) "self",(char *) "date", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1501 PyErr_SetString(PyExc_TypeError
,"null reference");
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 Py_INCREF(Py_None
); resultobj
= Py_None
;
1518 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1524 (char *) "self", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1534 result
= (wxDateTime
*) &_result_ref
;
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1547 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1550 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1551 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1556 (char *) "self",(char *) "date", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1567 PyErr_SetString(PyExc_TypeError
,"null reference");
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1587 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1590 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1591 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1596 (char *) "self",(char *) "date", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1607 PyErr_SetString(PyExc_TypeError
,"null reference");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) SWIG_fail
;
1619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1627 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1643 result
= (wxDateTime
*) &_result_ref
;
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1656 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1662 (char *) "self", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1672 result
= (wxDateTime
*) &_result_ref
;
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1685 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1688 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1689 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1690 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1691 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1693 PyObject
* obj0
= 0 ;
1694 PyObject
* obj1
= 0 ;
1695 PyObject
* obj2
= 0 ;
1697 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1708 PyErr_SetString(PyExc_TypeError
,"null reference");
1713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1717 PyErr_SetString(PyExc_TypeError
,"null reference");
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1737 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1740 bool arg2
= (bool) true ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 (char *) "self",(char *) "enable", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1751 arg2
= (bool)SWIG_As_bool(obj1
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 (arg1
)->EnableYearChange(arg2
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1771 bool arg2
= (bool) true ;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1775 (char *) "self",(char *) "enable", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1782 arg2
= (bool)SWIG_As_bool(obj1
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 (arg1
)->EnableMonthChange(arg2
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 Py_INCREF(Py_None
); resultobj
= Py_None
;
1799 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1802 bool arg2
= (bool) true ;
1803 PyObject
* obj0
= 0 ;
1804 PyObject
* obj1
= 0 ;
1806 (char *) "self",(char *) "display", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 arg2
= (bool)SWIG_As_bool(obj1
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 (arg1
)->EnableHolidayDisplay(arg2
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 Py_INCREF(Py_None
); resultobj
= Py_None
;
1830 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1833 wxColour
*arg2
= 0 ;
1834 wxColour
*arg3
= 0 ;
1837 PyObject
* obj0
= 0 ;
1838 PyObject
* obj1
= 0 ;
1839 PyObject
* obj2
= 0 ;
1841 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1853 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 Py_INCREF(Py_None
); resultobj
= Py_None
;
1869 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
*resultobj
;
1871 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1873 PyObject
* obj0
= 0 ;
1875 (char *) "self", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1889 wxColour
* resultptr
;
1890 resultptr
= new wxColour((wxColour
&) result
);
1891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1899 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1905 (char *) "self", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 wxColour
* resultptr
;
1920 resultptr
= new wxColour((wxColour
&) result
);
1921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1929 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1931 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1932 wxColour
*arg2
= 0 ;
1933 wxColour
*arg3
= 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1938 PyObject
* obj2
= 0 ;
1940 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1952 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "self", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1988 wxColour
* resultptr
;
1989 resultptr
= new wxColour((wxColour
&) result
);
1990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1998 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2002 PyObject
* obj0
= 0 ;
2004 (char *) "self", NULL
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
2008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 wxColour
* resultptr
;
2019 resultptr
= new wxColour((wxColour
&) result
);
2020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2028 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2030 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2031 wxColour
*arg2
= 0 ;
2032 wxColour
*arg3
= 0 ;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2037 PyObject
* obj2
= 0 ;
2039 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2051 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2087 wxColour
* resultptr
;
2088 resultptr
= new wxColour((wxColour
&) result
);
2089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2097 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2101 PyObject
* obj0
= 0 ;
2103 (char *) "self", NULL
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
2107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 wxColour
* resultptr
;
2118 resultptr
= new wxColour((wxColour
&) result
);
2119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2127 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2131 wxCalendarDateAttr
*result
;
2132 PyObject
* obj0
= 0 ;
2133 PyObject
* obj1
= 0 ;
2135 (char *) "self",(char *) "day", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2141 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2157 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
*resultobj
;
2159 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2161 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2164 PyObject
* obj2
= 0 ;
2166 (char *) "self",(char *) "day",(char *) "attr", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2174 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->SetAttr(arg2
,arg3
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2197 (char *) "self",(char *) "day", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 (arg1
)->SetHoliday(arg2
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) SWIG_fail
;
2212 Py_INCREF(Py_None
); resultobj
= Py_None
;
2219 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2224 PyObject
* obj1
= 0 ;
2226 (char *) "self",(char *) "day", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 (arg1
)->ResetAttr(arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 Py_INCREF(Py_None
); resultobj
= Py_None
;
2248 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "pos", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2281 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= wxPyMake_wxObject(result
, 0);
2309 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "self", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2329 resultobj
= wxPyMake_wxObject(result
, 0);
2337 static PyObject
*_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2340 wxVisualAttributes result
;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "variant", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CalendarCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2348 arg1
= (int)SWIG_As_int(obj0
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2352 if (!wxPyCheckForApp()) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 result
= wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2360 wxVisualAttributes
* resultptr
;
2361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2370 static PyObject
* CalendarCtrl_swigregister(PyObject
*, PyObject
*args
) {
2372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2373 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2375 return Py_BuildValue((char *)"");
2377 static PyMethodDef SwigMethods
[] = {
2378 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2379 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2380 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2381 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2382 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2383 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2384 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2385 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2386 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2387 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2388 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2389 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2390 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2391 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2392 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2393 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2394 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2395 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2396 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
, NULL
},
2397 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2398 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2399 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2400 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2401 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2402 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
, NULL
},
2403 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2404 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2405 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2406 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2407 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2408 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2409 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2410 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2411 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2412 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2413 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2414 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2415 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2416 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2417 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2418 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2419 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2420 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2421 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2422 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2423 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2424 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2425 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2426 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2427 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2428 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2429 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2430 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2431 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2432 { (char *)"CalendarCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_CalendarCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2433 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
, NULL
},
2434 { NULL
, NULL
, 0, NULL
}
2438 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2440 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2441 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2443 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2446 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2447 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2449 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2450 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2452 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2455 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2456 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2458 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2459 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2461 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2462 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2464 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2465 return (void *)((wxObject
*) ((wxSizer
*) x
));
2467 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2468 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2470 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2471 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2473 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2476 static void *_p_wxEventTo_p_wxObject(void *x
) {
2477 return (void *)((wxObject
*) ((wxEvent
*) x
));
2479 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2480 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2482 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2483 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2485 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2486 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2488 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2489 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2491 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2492 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2494 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2495 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2497 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2498 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2500 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2501 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2503 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2504 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2506 static void *_p_wxControlTo_p_wxObject(void *x
) {
2507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2509 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2510 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2512 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2513 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2515 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2518 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2519 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2521 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2522 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2524 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2525 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2527 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2528 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2530 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2533 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2534 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2536 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2537 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2539 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2540 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2542 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2543 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2545 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2548 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2549 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2551 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2552 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2554 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2555 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2557 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2558 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2560 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2561 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2563 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2564 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2566 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2569 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2572 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2575 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2578 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2579 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2581 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2584 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2585 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2587 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2588 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2590 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2591 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2593 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2594 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2596 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2597 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2599 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2600 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2602 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2603 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2605 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2606 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2608 static void *_p_wxImageTo_p_wxObject(void *x
) {
2609 return (void *)((wxObject
*) ((wxImage
*) x
));
2611 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2612 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2614 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2615 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2617 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2618 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2620 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2623 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2624 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2626 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2627 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2629 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2632 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2635 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2638 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2641 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2642 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2644 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2647 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2648 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2650 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2653 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2654 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2656 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2657 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2659 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2660 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2662 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2663 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2665 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2668 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2669 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2671 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2672 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2674 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2675 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2677 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2680 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2681 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2683 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2686 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2689 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2690 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2692 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2695 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2696 return (void *)((wxWindow
*) ((wxControl
*) x
));
2698 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2699 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2701 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2702 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2704 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2705 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2707 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2708 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2710 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2711 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2713 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2714 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2716 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2717 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2719 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2720 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2722 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2723 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2725 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2726 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2728 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2729 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2731 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2732 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2734 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2735 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2737 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2738 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2740 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2743 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2744 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2746 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2747 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2749 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2750 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2752 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2753 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2755 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2756 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2758 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2759 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2761 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2762 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2764 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2767 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2768 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2770 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2771 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2773 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2774 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2776 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2777 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2779 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2780 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2782 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2783 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2785 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2786 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2788 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2789 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2791 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2792 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2794 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2795 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2797 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2798 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2800 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2803 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2804 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2806 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2807 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2809 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2810 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2812 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2813 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2815 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2816 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2818 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2819 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2821 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2822 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2824 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2825 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2827 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2828 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2830 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2831 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2833 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2834 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2836 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2837 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2839 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2840 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2842 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2845 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2846 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2848 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2849 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2851 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2852 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2854 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2855 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2857 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2858 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2860 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2861 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2863 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2866 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2867 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2869 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2870 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2872 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2873 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2875 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2878 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2881 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2882 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2884 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2885 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2887 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2888 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2890 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}};
2891 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}};
2892 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}};
2893 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}};
2894 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}};
2895 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}};
2896 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}};
2897 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}};
2898 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}};
2899 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}};
2900 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}};
2901 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}};
2902 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}};
2903 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}};
2905 static swig_type_info
*swig_types_initial
[] = {
2908 _swigt__p_wxVisualAttributes
,
2909 _swigt__p_wxCalendarEvent
,
2910 _swigt__p_wxCalendarDateAttr
,
2912 _swigt__p_wxCommandEvent
,
2914 _swigt__p_wxEvtHandler
,
2916 _swigt__p_wxDateTime
,
2917 _swigt__p_wxControl
,
2918 _swigt__p_wxCalendarCtrl
,
2924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2926 static swig_const_info swig_const_table
[] = {
2927 {0, 0, 0, 0.0, 0, 0}};
2936 SWIGEXPORT(void) SWIG_init(void) {
2937 static PyObject
*SWIG_globals
= 0;
2938 static int typeinit
= 0;
2941 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2942 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2943 d
= PyModule_GetDict(m
);
2946 for (i
= 0; swig_types_initial
[i
]; i
++) {
2947 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2951 SWIG_InstallConstants(d
,swig_const_table
);
2953 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_From_int((int)wxCAL_SUNDAY_FIRST
));
2954 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_From_int((int)wxCAL_MONDAY_FIRST
));
2955 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_From_int((int)wxCAL_SHOW_HOLIDAYS
));
2956 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_From_int((int)wxCAL_NO_YEAR_CHANGE
));
2957 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_From_int((int)wxCAL_NO_MONTH_CHANGE
));
2958 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2959 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2960 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_From_int((int)wxCAL_HITTEST_NOWHERE
));
2961 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_From_int((int)wxCAL_HITTEST_HEADER
));
2962 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_From_int((int)wxCAL_HITTEST_DAY
));
2963 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_From_int((int)wxCAL_HITTEST_INCMONTH
));
2964 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_From_int((int)wxCAL_HITTEST_DECMONTH
));
2965 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2966 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_From_int((int)wxCAL_BORDER_NONE
));
2967 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_From_int((int)wxCAL_BORDER_SQUARE
));
2968 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_From_int((int)wxCAL_BORDER_ROUND
));
2969 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2970 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2971 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2972 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2973 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2974 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2975 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2976 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);