1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
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
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxControl swig_types[0]
234 #define SWIGTYPE_p_wxDateTime swig_types[1]
235 #define SWIGTYPE_p_wxWindow swig_types[2]
236 #define SWIGTYPE_p_wxFont swig_types[3]
237 #define SWIGTYPE_p_wxEvent swig_types[4]
238 #define SWIGTYPE_p_wxObject swig_types[5]
239 #define SWIGTYPE_p_wxEvtHandler swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[8]
242 #define SWIGTYPE_p_wxColour swig_types[9]
243 #define SWIGTYPE_p_wxCalendarEvent swig_types[10]
244 #define SWIGTYPE_p_wxCommandEvent swig_types[11]
245 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
246 static swig_type_info
*swig_types
[14];
248 /* -------- TYPES TABLE (END) -------- */
251 /*-----------------------------------------------
252 @(target):= _calendar.so
253 ------------------------------------------------*/
254 #define SWIG_init init_calendar
256 #define SWIG_name "_calendar"
264 #define SWIGSTATIC(a) static inline a
266 #define SWIGSTATIC(a) static a
272 #ifdef HAVE_NUMERIC_CAST
273 #define numeric_cast(type,a) numeric_cast<type>(a)
275 #define numeric_cast(type,a) static_cast<type>(a)
278 #define numeric_cast(type,a) (type)(a)
284 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
285 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
286 #define SWIG_PyObj_FromShort PyInt_FromLong
287 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
288 #define SWIG_PyObj_FromInt PyInt_FromLong
289 #define SWIG_PyObj_FromLong PyInt_FromLong
290 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
291 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
292 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
293 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
296 #include "wx/wxPython/wxPython.h"
297 #include "wx/wxPython/pyclasses.h"
299 #include <wx/calctrl.h>
303 SWIG_PyObj_AsInt(PyObject
*obj
)
305 return numeric_cast(int,
306 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
311 SWIG_PyObj_AsBool(PyObject
*obj
)
313 return PyObject_IsTrue(obj
) ? true : false;
316 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
319 SWIG_PyObj_AsLong(PyObject
* obj
)
321 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
324 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
325 wxDateTime
* date
= new wxDateTime
;
326 wxDateTime::WeekDay wd
;
327 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
328 wxPyBeginBlockThreads();
329 PyObject
* tup
= PyTuple_New(3);
330 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
331 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
332 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
333 wxPyEndBlockThreads();
339 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 wxColour
const &arg1_defvalue
= wxNullColour
;
342 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
343 wxColour
const &arg2_defvalue
= wxNullColour
;
344 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
345 wxColour
const &arg3_defvalue
= wxNullColour
;
346 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
347 wxFont
const &arg4_defvalue
= wxNullFont
;
348 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
349 int arg5
= (int) wxCAL_BORDER_NONE
;
350 wxCalendarDateAttr
*result
;
354 PyObject
* obj0
= 0 ;
355 PyObject
* obj1
= 0 ;
356 PyObject
* obj2
= 0 ;
357 PyObject
* obj3
= 0 ;
358 PyObject
* obj4
= 0 ;
360 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
367 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
383 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
390 arg5
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj4
);
391 if (PyErr_Occurred()) SWIG_fail
;
395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
396 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
398 wxPyEndAllowThreads(__tstate
);
399 if (PyErr_Occurred()) SWIG_fail
;
401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
408 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
413 PyObject
* obj0
= 0 ;
414 PyObject
* obj1
= 0 ;
416 (char *) "self",(char *) "colText", NULL
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) SWIG_fail
;
432 Py_INCREF(Py_None
); resultobj
= Py_None
;
439 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
444 PyObject
* obj0
= 0 ;
445 PyObject
* obj1
= 0 ;
447 (char *) "self",(char *) "colBack", NULL
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
460 wxPyEndAllowThreads(__tstate
);
461 if (PyErr_Occurred()) SWIG_fail
;
463 Py_INCREF(Py_None
); resultobj
= Py_None
;
470 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
475 PyObject
* obj0
= 0 ;
476 PyObject
* obj1
= 0 ;
478 (char *) "self",(char *) "col", NULL
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) SWIG_fail
;
494 Py_INCREF(Py_None
); resultobj
= Py_None
;
501 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
505 PyObject
* obj0
= 0 ;
506 PyObject
* obj1
= 0 ;
508 (char *) "self",(char *) "font", NULL
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
515 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
519 (arg1
)->SetFont((wxFont
const &)*arg2
);
521 wxPyEndAllowThreads(__tstate
);
522 if (PyErr_Occurred()) SWIG_fail
;
524 Py_INCREF(Py_None
); resultobj
= Py_None
;
531 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
535 PyObject
* obj0
= 0 ;
536 PyObject
* obj1
= 0 ;
538 (char *) "self",(char *) "border", NULL
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
544 arg2
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj1
);
545 if (PyErr_Occurred()) SWIG_fail
;
548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
549 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
551 wxPyEndAllowThreads(__tstate
);
552 if (PyErr_Occurred()) SWIG_fail
;
554 Py_INCREF(Py_None
); resultobj
= Py_None
;
561 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
565 PyObject
* obj0
= 0 ;
566 PyObject
* obj1
= 0 ;
568 (char *) "self",(char *) "holiday", NULL
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
574 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
575 if (PyErr_Occurred()) SWIG_fail
;
578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
579 (arg1
)->SetHoliday(arg2
);
581 wxPyEndAllowThreads(__tstate
);
582 if (PyErr_Occurred()) SWIG_fail
;
584 Py_INCREF(Py_None
); resultobj
= Py_None
;
591 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
595 PyObject
* obj0
= 0 ;
597 (char *) "self", NULL
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) SWIG_fail
;
609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
616 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
620 PyObject
* obj0
= 0 ;
622 (char *) "self", NULL
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) SWIG_fail
;
634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
641 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
645 PyObject
* obj0
= 0 ;
647 (char *) "self", NULL
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
654 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
656 wxPyEndAllowThreads(__tstate
);
657 if (PyErr_Occurred()) SWIG_fail
;
659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
666 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
670 PyObject
* obj0
= 0 ;
672 (char *) "self", NULL
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) SWIG_fail
;
684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
691 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
695 PyObject
* obj0
= 0 ;
697 (char *) "self", NULL
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) SWIG_fail
;
709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
716 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
720 PyObject
* obj0
= 0 ;
722 (char *) "self", NULL
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
729 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
731 wxPyEndAllowThreads(__tstate
);
732 if (PyErr_Occurred()) SWIG_fail
;
734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
741 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
745 PyObject
* obj0
= 0 ;
747 (char *) "self", NULL
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) SWIG_fail
;
760 wxColour
* resultptr
;
761 resultptr
= new wxColour((wxColour
&) result
);
762 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
770 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
774 PyObject
* obj0
= 0 ;
776 (char *) "self", NULL
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) SWIG_fail
;
789 wxColour
* resultptr
;
790 resultptr
= new wxColour((wxColour
&) result
);
791 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
799 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
803 PyObject
* obj0
= 0 ;
805 (char *) "self", NULL
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) SWIG_fail
;
818 wxColour
* resultptr
;
819 resultptr
= new wxColour((wxColour
&) result
);
820 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
828 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
832 PyObject
* obj0
= 0 ;
834 (char *) "self", NULL
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
841 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
843 wxPyEndAllowThreads(__tstate
);
844 if (PyErr_Occurred()) SWIG_fail
;
848 resultptr
= new wxFont((wxFont
&) result
);
849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
857 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
861 PyObject
* obj0
= 0 ;
863 (char *) "self", NULL
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
870 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
872 wxPyEndAllowThreads(__tstate
);
873 if (PyErr_Occurred()) SWIG_fail
;
875 resultobj
= SWIG_PyObj_FromInt((int)result
);
882 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
885 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
887 return Py_BuildValue((char *)"");
889 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
893 wxCalendarEvent
*result
;
894 PyObject
* obj0
= 0 ;
895 PyObject
* obj1
= 0 ;
897 (char *) "cal",(char *) "type", NULL
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
903 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
904 if (PyErr_Occurred()) SWIG_fail
;
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) SWIG_fail
;
913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
920 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
924 PyObject
* obj0
= 0 ;
926 (char *) "self", NULL
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
935 wxPyEndAllowThreads(__tstate
);
936 if (PyErr_Occurred()) SWIG_fail
;
939 wxDateTime
* resultptr
;
940 resultptr
= new wxDateTime((wxDateTime
&) result
);
941 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
949 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
952 wxDateTime
*arg2
= 0 ;
953 PyObject
* obj0
= 0 ;
954 PyObject
* obj1
= 0 ;
956 (char *) "self",(char *) "date", NULL
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) SWIG_fail
;
972 Py_INCREF(Py_None
); resultobj
= Py_None
;
979 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
983 PyObject
* obj0
= 0 ;
984 PyObject
* obj1
= 0 ;
986 (char *) "self",(char *) "wd", NULL
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
992 arg2
= (wxDateTime::WeekDay
const) SWIG_PyObj_AsInt(obj1
);
993 if (PyErr_Occurred()) SWIG_fail
;
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) SWIG_fail
;
1002 Py_INCREF(Py_None
); resultobj
= Py_None
;
1009 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
*resultobj
;
1011 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1013 PyObject
* obj0
= 0 ;
1015 (char *) "self", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) SWIG_fail
;
1027 resultobj
= SWIG_PyObj_FromInt((int)result
);
1034 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1037 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1039 return Py_BuildValue((char *)"");
1041 static int _wrap_CalendarNameStr_set(PyObject
*) {
1042 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1047 static PyObject
*_wrap_CalendarNameStr_get() {
1052 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1054 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1061 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
*resultobj
;
1063 wxWindow
*arg1
= (wxWindow
*) 0 ;
1065 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1066 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1071 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1072 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1074 wxCalendarCtrl
*result
;
1077 bool temp7
= False
;
1078 PyObject
* obj0
= 0 ;
1079 PyObject
* obj1
= 0 ;
1080 PyObject
* obj2
= 0 ;
1081 PyObject
* obj3
= 0 ;
1082 PyObject
* obj4
= 0 ;
1083 PyObject
* obj5
= 0 ;
1084 PyObject
* obj6
= 0 ;
1086 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1093 if (PyErr_Occurred()) SWIG_fail
;
1096 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1115 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1116 if (PyErr_Occurred()) SWIG_fail
;
1121 arg7
= wxString_in_helper(obj6
);
1122 if (arg7
== NULL
) SWIG_fail
;
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1148 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
*resultobj
;
1150 wxCalendarCtrl
*result
;
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1170 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1172 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1173 wxWindow
*arg2
= (wxWindow
*) 0 ;
1175 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1176 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1177 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1178 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1179 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1180 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1181 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1182 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1183 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1187 bool temp8
= False
;
1188 PyObject
* obj0
= 0 ;
1189 PyObject
* obj1
= 0 ;
1190 PyObject
* obj2
= 0 ;
1191 PyObject
* obj3
= 0 ;
1192 PyObject
* obj4
= 0 ;
1193 PyObject
* obj5
= 0 ;
1194 PyObject
* obj6
= 0 ;
1195 PyObject
* obj7
= 0 ;
1197 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1204 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1208 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1222 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1233 arg8
= wxString_in_helper(obj7
);
1234 if (arg8
== NULL
) SWIG_fail
;
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1260 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
*resultobj
;
1262 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1263 wxDateTime
*arg2
= 0 ;
1264 PyObject
* obj0
= 0 ;
1265 PyObject
* obj1
= 0 ;
1267 (char *) "self",(char *) "date", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1283 Py_INCREF(Py_None
); resultobj
= Py_None
;
1290 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1294 PyObject
* obj0
= 0 ;
1296 (char *) "self", NULL
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1305 result
= (wxDateTime
*) &_result_ref
;
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1311 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1318 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1320 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1321 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1322 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1324 PyObject
* obj0
= 0 ;
1325 PyObject
* obj1
= 0 ;
1327 (char *) "self",(char *) "date", NULL
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1352 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1355 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1356 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1358 PyObject
* obj0
= 0 ;
1359 PyObject
* obj1
= 0 ;
1361 (char *) "self",(char *) "date", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1386 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1401 result
= (wxDateTime
*) &_result_ref
;
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1414 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1418 PyObject
* obj0
= 0 ;
1420 (char *) "self", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1429 result
= (wxDateTime
*) &_result_ref
;
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1442 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1445 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1446 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1447 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1448 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1450 PyObject
* obj0
= 0 ;
1451 PyObject
* obj1
= 0 ;
1452 PyObject
* obj2
= 0 ;
1454 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1466 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1468 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1485 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1488 bool arg2
= (bool) True
;
1489 PyObject
* obj0
= 0 ;
1490 PyObject
* obj1
= 0 ;
1492 (char *) "self",(char *) "enable", NULL
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1499 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 (arg1
)->EnableYearChange(arg2
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 Py_INCREF(Py_None
); resultobj
= Py_None
;
1517 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
*resultobj
;
1519 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1520 bool arg2
= (bool) True
;
1521 PyObject
* obj0
= 0 ;
1522 PyObject
* obj1
= 0 ;
1524 (char *) "self",(char *) "enable", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 (arg1
)->EnableMonthChange(arg2
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 Py_INCREF(Py_None
); resultobj
= Py_None
;
1549 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1552 bool arg2
= (bool) True
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1556 (char *) "self",(char *) "display", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 (arg1
)->EnableHolidayDisplay(arg2
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1574 Py_INCREF(Py_None
); resultobj
= Py_None
;
1581 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1584 wxColour
*arg2
= 0 ;
1585 wxColour
*arg3
= 0 ;
1588 PyObject
* obj0
= 0 ;
1589 PyObject
* obj1
= 0 ;
1590 PyObject
* obj2
= 0 ;
1592 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1603 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1638 wxColour
* resultptr
;
1639 resultptr
= new wxColour((wxColour
&) result
);
1640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1648 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "self", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxColour
* resultptr
;
1668 resultptr
= new wxColour((wxColour
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1677 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1680 wxColour
*arg2
= 0 ;
1681 wxColour
*arg3
= 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1686 PyObject
* obj2
= 0 ;
1688 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1699 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 Py_INCREF(Py_None
); resultobj
= Py_None
;
1715 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1717 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1719 PyObject
* obj0
= 0 ;
1721 (char *) "self", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1734 wxColour
* resultptr
;
1735 resultptr
= new wxColour((wxColour
&) result
);
1736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1744 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1763 wxColour
* resultptr
;
1764 resultptr
= new wxColour((wxColour
&) result
);
1765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1773 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1775 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1776 wxColour
*arg2
= 0 ;
1777 wxColour
*arg3
= 0 ;
1780 PyObject
* obj0
= 0 ;
1781 PyObject
* obj1
= 0 ;
1782 PyObject
* obj2
= 0 ;
1784 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1795 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1815 PyObject
* obj0
= 0 ;
1817 (char *) "self", NULL
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1830 wxColour
* resultptr
;
1831 resultptr
= new wxColour((wxColour
&) result
);
1832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1840 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1859 wxColour
* resultptr
;
1860 resultptr
= new wxColour((wxColour
&) result
);
1861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1869 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
*resultobj
;
1871 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1873 wxCalendarDateAttr
*result
;
1874 PyObject
* obj0
= 0 ;
1875 PyObject
* obj1
= 0 ;
1877 (char *) "self",(char *) "day", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1883 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1900 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1904 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1906 PyObject
* obj1
= 0 ;
1907 PyObject
* obj2
= 0 ;
1909 (char *) "self",(char *) "day",(char *) "attr", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 (arg1
)->SetAttr(arg2
,arg3
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 Py_INCREF(Py_None
); resultobj
= Py_None
;
1933 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1940 (char *) "self",(char *) "day", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1946 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 (arg1
)->SetHoliday(arg2
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 Py_INCREF(Py_None
); resultobj
= Py_None
;
1963 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1967 PyObject
* obj0
= 0 ;
1968 PyObject
* obj1
= 0 ;
1970 (char *) "self",(char *) "day", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1976 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 (arg1
)->ResetAttr(arg2
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1986 Py_INCREF(Py_None
); resultobj
= Py_None
;
1993 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
*resultobj
;
1995 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1999 PyObject
* obj0
= 0 ;
2000 PyObject
* obj1
= 0 ;
2002 (char *) "self",(char *) "pos", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2025 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2029 PyObject
* obj0
= 0 ;
2031 (char *) "self", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= wxPyMake_wxObject(result
);
2052 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
*resultobj
;
2054 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2056 PyObject
* obj0
= 0 ;
2058 (char *) "self", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= wxPyMake_wxObject(result
);
2079 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2082 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2084 return Py_BuildValue((char *)"");
2086 static PyMethodDef SwigMethods
[] = {
2087 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2088 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2089 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2090 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2091 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2092 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2093 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2094 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2095 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2096 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2097 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2098 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2099 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2100 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2101 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2102 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2103 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2104 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2105 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2106 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2107 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2108 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2109 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2110 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2111 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2112 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2113 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2114 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2115 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2116 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2117 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2118 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2119 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2120 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2121 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2122 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2123 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2124 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2125 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2126 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2127 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2128 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2129 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2130 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2131 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2132 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2133 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2134 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2135 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2136 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2137 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2138 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2139 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2140 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2141 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2146 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2148 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2149 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2151 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2154 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2155 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2157 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2158 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2160 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2163 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2164 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2166 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2167 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2169 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2170 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2172 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2173 return (void *)((wxObject
*) ((wxSizer
*) x
));
2175 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2176 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2178 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2179 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2181 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2184 static void *_p_wxEventTo_p_wxObject(void *x
) {
2185 return (void *)((wxObject
*) ((wxEvent
*) x
));
2187 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2188 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2190 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2191 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2193 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2194 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2196 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2197 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2199 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2200 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2202 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2203 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2205 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2206 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2208 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2209 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2211 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2212 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2214 static void *_p_wxControlTo_p_wxObject(void *x
) {
2215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2217 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2218 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2220 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2221 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2223 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2226 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2227 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2229 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2230 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2232 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2233 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2235 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2236 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2238 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2241 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2242 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2244 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2245 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2247 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2248 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2250 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2251 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2253 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2256 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2257 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2259 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2260 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2262 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2263 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2265 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2266 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2268 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2269 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2271 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2272 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2274 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2277 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2280 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2283 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2286 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2289 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2292 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2293 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2295 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2298 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2301 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2304 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2305 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2307 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2310 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2311 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2313 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2314 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2316 static void *_p_wxImageTo_p_wxObject(void *x
) {
2317 return (void *)((wxObject
*) ((wxImage
*) x
));
2319 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2320 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2322 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2323 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2325 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2326 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2328 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2331 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2332 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2334 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2335 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2337 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2340 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2343 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2346 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2349 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2350 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2352 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2355 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2356 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2358 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2359 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2361 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2362 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2364 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2365 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2367 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2368 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2370 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2371 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2373 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2376 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2377 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2379 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2380 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2382 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2383 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2385 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2388 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2389 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2391 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2394 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2397 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2400 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2403 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2404 return (void *)((wxWindow
*) ((wxControl
*) x
));
2406 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2407 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2409 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2410 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2412 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2413 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2415 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2416 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2418 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2419 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2421 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2422 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2424 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2425 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2427 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2428 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2430 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2431 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2433 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2434 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2436 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2437 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2439 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2440 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2442 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2445 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2446 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2448 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2451 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2452 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2454 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2455 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2457 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2458 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2460 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2461 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2463 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2464 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2466 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2467 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2469 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2470 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2472 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2475 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2476 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2478 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2479 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2481 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2484 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2485 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2487 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2488 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2490 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2491 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2493 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2494 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2496 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2497 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2499 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2500 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2502 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2505 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2506 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2508 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2511 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2512 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2514 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2515 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2517 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2518 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2520 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2521 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2523 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2526 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2527 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2529 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2530 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2532 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2533 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2535 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2536 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2538 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2539 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2541 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2542 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2544 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2545 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2547 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2548 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2550 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2551 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2553 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2554 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2556 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2557 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2559 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2560 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2562 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2563 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2565 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2566 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2568 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2569 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2571 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2572 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2574 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2575 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2577 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2578 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2580 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2581 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2583 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2584 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2586 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2589 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2590 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2592 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2593 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2595 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2596 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2598 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
},{0}};
2599 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2600 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
},{0}};
2601 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2602 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
2603 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
2604 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
},{0}};
2605 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
2606 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2607 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2608 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2609 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
2610 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2612 static swig_type_info
*swig_types_initial
[] = {
2613 _swigt__p_wxControl
,
2614 _swigt__p_wxDateTime
,
2619 _swigt__p_wxEvtHandler
,
2621 _swigt__p_wxCalendarDateAttr
,
2623 _swigt__p_wxCalendarEvent
,
2624 _swigt__p_wxCommandEvent
,
2625 _swigt__p_wxCalendarCtrl
,
2630 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2632 static swig_const_info swig_const_table
[] = {
2642 SWIGEXPORT(void) SWIG_init(void) {
2643 static PyObject
*SWIG_globals
= 0;
2644 static int typeinit
= 0;
2647 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2648 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2649 d
= PyModule_GetDict(m
);
2652 for (i
= 0; swig_types_initial
[i
]; i
++) {
2653 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2657 SWIG_InstallConstants(d
,swig_const_table
);
2659 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_SUNDAY_FIRST
));
2660 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_MONDAY_FIRST
));
2661 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2662 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2663 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2664 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_PyObj_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2665 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2666 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2667 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_HEADER
));
2668 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DAY
));
2669 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2670 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2671 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2672 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_NONE
));
2673 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_SQUARE
));
2674 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_PyObj_FromInt((int)wxCAL_BORDER_ROUND
));
2675 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2676 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2677 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2678 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2679 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2680 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2681 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2682 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);