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_wxDateTime__WeekDay swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxObject swig_types[2]
236 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
237 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
238 #define SWIGTYPE_p_wxWindow swig_types[5]
239 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
242 #define SWIGTYPE_p_wxFont swig_types[9]
243 #define SWIGTYPE_p_wxDateTime swig_types[10]
244 #define SWIGTYPE_p_wxControl swig_types[11]
245 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
246 #define SWIGTYPE_p_wxEvent swig_types[13]
247 static swig_type_info
*swig_types
[15];
249 /* -------- TYPES TABLE (END) -------- */
252 /*-----------------------------------------------
253 @(target):= _calendar.so
254 ------------------------------------------------*/
255 #define SWIG_init init_calendar
257 #define SWIG_name "_calendar"
265 #define SWIGSTATIC(a) static inline a
267 #define SWIGSTATIC(a) static a
273 #ifdef HAVE_NUMERIC_CAST
274 #define numeric_cast(type,a) numeric_cast<type>(a)
276 #define numeric_cast(type,a) static_cast<type>(a)
279 #define numeric_cast(type,a) (type)(a)
285 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
286 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
287 #define SWIG_PyObj_FromShort PyInt_FromLong
288 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
289 #define SWIG_PyObj_FromInt PyInt_FromLong
290 #define SWIG_PyObj_FromLong PyInt_FromLong
291 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
292 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
293 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
294 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
297 #include "wx/wxPython/wxPython.h"
298 #include "wx/wxPython/pyclasses.h"
300 #include <wx/calctrl.h>
304 SWIG_PyObj_AsInt(PyObject
*obj
)
306 return numeric_cast(int,
307 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
312 SWIG_PyObj_AsBool(PyObject
*obj
)
314 return PyObject_IsTrue(obj
) ? true : false;
317 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
320 SWIG_PyObj_AsLong(PyObject
* obj
)
322 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
328 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 wxColour
const &arg2_defvalue
= wxNullColour
;
332 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
333 wxColour
const &arg3_defvalue
= wxNullColour
;
334 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
335 wxFont
const &arg4_defvalue
= wxNullFont
;
336 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
337 int arg5
= (int) wxCAL_BORDER_NONE
;
338 wxCalendarDateAttr
*result
;
342 PyObject
* obj0
= 0 ;
343 PyObject
* obj1
= 0 ;
344 PyObject
* obj2
= 0 ;
345 PyObject
* obj3
= 0 ;
346 PyObject
* obj4
= 0 ;
348 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
354 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
365 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
369 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
376 arg5
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj4
);
377 if (PyErr_Occurred()) SWIG_fail
;
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) SWIG_fail
;
387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
394 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 wxColour
const &arg2_defvalue
= wxNullColour
;
398 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
399 wxCalendarDateAttr
*result
;
401 PyObject
* obj0
= 0 ;
402 PyObject
* obj1
= 0 ;
404 (char *) "border",(char *) "colBorder", NULL
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_CalendarDateAttrBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
409 arg1
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj0
);
410 if (PyErr_Occurred()) SWIG_fail
;
415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) SWIG_fail
;
425 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
432 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
437 PyObject
* obj0
= 0 ;
438 PyObject
* obj1
= 0 ;
440 (char *) "self",(char *) "colText", NULL
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) SWIG_fail
;
456 Py_INCREF(Py_None
); resultobj
= Py_None
;
463 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
468 PyObject
* obj0
= 0 ;
469 PyObject
* obj1
= 0 ;
471 (char *) "self",(char *) "colBack", NULL
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) SWIG_fail
;
487 Py_INCREF(Py_None
); resultobj
= Py_None
;
494 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
499 PyObject
* obj0
= 0 ;
500 PyObject
* obj1
= 0 ;
502 (char *) "self",(char *) "col", NULL
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) SWIG_fail
;
518 Py_INCREF(Py_None
); resultobj
= Py_None
;
525 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
529 PyObject
* obj0
= 0 ;
530 PyObject
* obj1
= 0 ;
532 (char *) "self",(char *) "font", NULL
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 (arg1
)->SetFont((wxFont
const &)*arg2
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) SWIG_fail
;
548 Py_INCREF(Py_None
); resultobj
= Py_None
;
555 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
559 PyObject
* obj0
= 0 ;
560 PyObject
* obj1
= 0 ;
562 (char *) "self",(char *) "border", NULL
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
568 arg2
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj1
);
569 if (PyErr_Occurred()) SWIG_fail
;
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) SWIG_fail
;
578 Py_INCREF(Py_None
); resultobj
= Py_None
;
585 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
589 PyObject
* obj0
= 0 ;
590 PyObject
* obj1
= 0 ;
592 (char *) "self",(char *) "holiday", NULL
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
598 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
599 if (PyErr_Occurred()) SWIG_fail
;
602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
603 (arg1
)->SetHoliday(arg2
);
605 wxPyEndAllowThreads(__tstate
);
606 if (PyErr_Occurred()) SWIG_fail
;
608 Py_INCREF(Py_None
); resultobj
= Py_None
;
615 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
619 PyObject
* obj0
= 0 ;
621 (char *) "self", NULL
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
628 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
630 wxPyEndAllowThreads(__tstate
);
631 if (PyErr_Occurred()) SWIG_fail
;
633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
640 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
644 PyObject
* obj0
= 0 ;
646 (char *) "self", NULL
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) SWIG_fail
;
658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
665 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
669 PyObject
* obj0
= 0 ;
671 (char *) "self", NULL
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) SWIG_fail
;
683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
690 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
694 PyObject
* obj0
= 0 ;
696 (char *) "self", NULL
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) SWIG_fail
;
708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
715 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
719 PyObject
* obj0
= 0 ;
721 (char *) "self", NULL
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) SWIG_fail
;
733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
740 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
744 PyObject
* obj0
= 0 ;
746 (char *) "self", NULL
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) SWIG_fail
;
758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
765 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
769 PyObject
* obj0
= 0 ;
771 (char *) "self", NULL
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
778 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
780 wxPyEndAllowThreads(__tstate
);
781 if (PyErr_Occurred()) SWIG_fail
;
784 wxColour
* resultptr
;
785 resultptr
= new wxColour((wxColour
&) result
);
786 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
794 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
798 PyObject
* obj0
= 0 ;
800 (char *) "self", NULL
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) SWIG_fail
;
813 wxColour
* resultptr
;
814 resultptr
= new wxColour((wxColour
&) result
);
815 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
823 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
827 PyObject
* obj0
= 0 ;
829 (char *) "self", NULL
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
836 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
838 wxPyEndAllowThreads(__tstate
);
839 if (PyErr_Occurred()) SWIG_fail
;
842 wxColour
* resultptr
;
843 resultptr
= new wxColour((wxColour
&) result
);
844 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
852 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
856 PyObject
* obj0
= 0 ;
858 (char *) "self", NULL
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) SWIG_fail
;
872 resultptr
= new wxFont((wxFont
&) result
);
873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
881 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
885 PyObject
* obj0
= 0 ;
887 (char *) "self", NULL
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) SWIG_fail
;
899 resultobj
= SWIG_PyObj_FromInt((int)result
);
906 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
909 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
911 return Py_BuildValue((char *)"");
913 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
917 wxCalendarEvent
*result
;
918 PyObject
* obj0
= 0 ;
919 PyObject
* obj1
= 0 ;
921 (char *) "cal",(char *) "type", NULL
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
927 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
928 if (PyErr_Occurred()) SWIG_fail
;
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) SWIG_fail
;
937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
944 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
948 PyObject
* obj0
= 0 ;
950 (char *) "self", NULL
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
963 wxDateTime
* resultptr
;
964 resultptr
= new wxDateTime((wxDateTime
&) result
);
965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
973 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
976 wxDateTime
*arg2
= 0 ;
977 PyObject
* obj0
= 0 ;
978 PyObject
* obj1
= 0 ;
980 (char *) "self",(char *) "date", NULL
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) SWIG_fail
;
996 Py_INCREF(Py_None
); resultobj
= Py_None
;
1003 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
*resultobj
;
1005 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1007 PyObject
* obj0
= 0 ;
1008 PyObject
* obj1
= 0 ;
1010 (char *) "self",(char *) "wd", NULL
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1016 arg2
= (wxDateTime::WeekDay
const) SWIG_PyObj_AsInt(obj1
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1026 Py_INCREF(Py_None
); resultobj
= Py_None
;
1033 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
*resultobj
;
1035 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1037 PyObject
* obj0
= 0 ;
1039 (char *) "self", NULL
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) SWIG_fail
;
1051 resultobj
= SWIG_PyObj_FromInt((int)result
);
1058 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1061 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1063 return Py_BuildValue((char *)"");
1065 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1066 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1071 static PyObject
*_wrap_CalendarNameStr_get() {
1076 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1078 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1085 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
*resultobj
;
1087 wxWindow
*arg1
= (wxWindow
*) 0 ;
1089 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1090 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1095 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1096 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1098 wxCalendarCtrl
*result
;
1101 bool temp7
= False
;
1102 PyObject
* obj0
= 0 ;
1103 PyObject
* obj1
= 0 ;
1104 PyObject
* obj2
= 0 ;
1105 PyObject
* obj3
= 0 ;
1106 PyObject
* obj4
= 0 ;
1107 PyObject
* obj5
= 0 ;
1108 PyObject
* obj6
= 0 ;
1110 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1120 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1139 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1140 if (PyErr_Occurred()) SWIG_fail
;
1145 arg7
= wxString_in_helper(obj6
);
1146 if (arg7
== NULL
) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1172 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxCalendarCtrl
*result
;
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1194 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1197 wxWindow
*arg2
= (wxWindow
*) 0 ;
1199 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1200 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1205 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1206 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1211 bool temp8
= False
;
1212 PyObject
* obj0
= 0 ;
1213 PyObject
* obj1
= 0 ;
1214 PyObject
* obj2
= 0 ;
1215 PyObject
* obj3
= 0 ;
1216 PyObject
* obj4
= 0 ;
1217 PyObject
* obj5
= 0 ;
1218 PyObject
* obj6
= 0 ;
1219 PyObject
* obj7
= 0 ;
1221 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1228 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1232 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1240 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1246 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1251 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1257 arg8
= wxString_in_helper(obj7
);
1258 if (arg8
== NULL
) SWIG_fail
;
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1284 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1286 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1287 wxDateTime
*arg2
= 0 ;
1288 PyObject
* obj0
= 0 ;
1289 PyObject
* obj1
= 0 ;
1291 (char *) "self",(char *) "date", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1307 Py_INCREF(Py_None
); resultobj
= Py_None
;
1314 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
*resultobj
;
1316 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1318 PyObject
* obj0
= 0 ;
1320 (char *) "self", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1329 result
= (wxDateTime
*) &_result_ref
;
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1342 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1345 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1346 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1348 PyObject
* obj0
= 0 ;
1349 PyObject
* obj1
= 0 ;
1351 (char *) "self",(char *) "date", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1376 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1380 PyObject
* obj0
= 0 ;
1382 (char *) "self", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1391 result
= (wxDateTime
*) &_result_ref
;
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1404 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1407 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1408 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1410 PyObject
* obj0
= 0 ;
1411 PyObject
* obj1
= 0 ;
1413 (char *) "self",(char *) "date", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1438 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1453 result
= (wxDateTime
*) &_result_ref
;
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1466 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1469 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1470 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1471 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1472 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1476 PyObject
* obj2
= 0 ;
1478 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1509 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
*resultobj
;
1511 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1512 bool arg2
= (bool) True
;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 (char *) "self",(char *) "enable", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1523 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 (arg1
)->EnableYearChange(arg2
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 Py_INCREF(Py_None
); resultobj
= Py_None
;
1541 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1544 bool arg2
= (bool) True
;
1545 PyObject
* obj0
= 0 ;
1546 PyObject
* obj1
= 0 ;
1548 (char *) "self",(char *) "enable", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1555 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 (arg1
)->EnableMonthChange(arg2
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 Py_INCREF(Py_None
); resultobj
= Py_None
;
1573 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1576 bool arg2
= (bool) True
;
1577 PyObject
* obj0
= 0 ;
1578 PyObject
* obj1
= 0 ;
1580 (char *) "self",(char *) "display", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1587 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 (arg1
)->EnableHolidayDisplay(arg2
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1598 Py_INCREF(Py_None
); resultobj
= Py_None
;
1605 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
*resultobj
;
1607 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1608 wxColour
*arg2
= 0 ;
1609 wxColour
*arg3
= 0 ;
1612 PyObject
* obj0
= 0 ;
1613 PyObject
* obj1
= 0 ;
1614 PyObject
* obj2
= 0 ;
1616 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1627 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 Py_INCREF(Py_None
); resultobj
= Py_None
;
1643 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1649 (char *) "self", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1662 wxColour
* resultptr
;
1663 resultptr
= new wxColour((wxColour
&) result
);
1664 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1672 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1674 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1676 PyObject
* obj0
= 0 ;
1678 (char *) "self", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1691 wxColour
* resultptr
;
1692 resultptr
= new wxColour((wxColour
&) result
);
1693 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1701 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
*resultobj
;
1703 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1704 wxColour
*arg2
= 0 ;
1705 wxColour
*arg3
= 0 ;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1710 PyObject
* obj2
= 0 ;
1712 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1723 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1739 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "self", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1758 wxColour
* resultptr
;
1759 resultptr
= new wxColour((wxColour
&) result
);
1760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1768 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1787 wxColour
* resultptr
;
1788 resultptr
= new wxColour((wxColour
&) result
);
1789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1797 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1800 wxColour
*arg2
= 0 ;
1801 wxColour
*arg3
= 0 ;
1804 PyObject
* obj0
= 0 ;
1805 PyObject
* obj1
= 0 ;
1806 PyObject
* obj2
= 0 ;
1808 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1819 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1854 wxColour
* resultptr
;
1855 resultptr
= new wxColour((wxColour
&) result
);
1856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1864 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1883 wxColour
* resultptr
;
1884 resultptr
= new wxColour((wxColour
&) result
);
1885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1893 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1897 wxCalendarDateAttr
*result
;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1901 (char *) "self",(char *) "day", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1907 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1924 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1928 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1933 (char *) "self",(char *) "day",(char *) "attr", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 (arg1
)->SetAttr(arg2
,arg3
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1962 PyObject
* obj1
= 0 ;
1964 (char *) "self",(char *) "day", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 (arg1
)->SetHoliday(arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1991 PyObject
* obj0
= 0 ;
1992 PyObject
* obj1
= 0 ;
1994 (char *) "self",(char *) "day", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2000 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 (arg1
)->ResetAttr(arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2021 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
2022 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
2025 PyObject
* obj0
= 0 ;
2026 PyObject
* obj1
= 0 ;
2027 PyObject
* obj2
= 0 ;
2028 PyObject
* obj3
= 0 ;
2030 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2040 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2043 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_PyObj_FromInt((int)result
);
2059 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2062 bool arg2
= (bool) True
;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2067 (char *) "self",(char *) "enable", NULL
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
2071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2074 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (bool)(arg1
)->Enable(arg2
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2092 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2095 bool arg2
= (bool) True
;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 (char *) "self",(char *) "show", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2107 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= (bool)(arg1
)->Show(arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2125 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= wxPyMake_wxObject(result
);
2152 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2156 PyObject
* obj0
= 0 ;
2158 (char *) "self", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= wxPyMake_wxObject(result
);
2179 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2182 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2184 return Py_BuildValue((char *)"");
2186 static PyMethodDef SwigMethods
[] = {
2187 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2188 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2189 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2190 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2191 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2192 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2193 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2194 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2195 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2196 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2197 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2198 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2199 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2200 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2201 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2202 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2203 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2204 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2205 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2206 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2207 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2208 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2209 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2210 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2211 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2212 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2213 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2214 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2215 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2216 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2217 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2218 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2219 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2220 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2221 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2222 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2223 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2224 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2225 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2226 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2227 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2228 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2229 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2230 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2231 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2232 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2233 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2234 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2235 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2236 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2237 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2238 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2239 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2240 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2241 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2242 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2243 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2244 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2249 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2251 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2252 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2254 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2257 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2258 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2260 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2261 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2263 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2264 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2266 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2267 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2269 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2270 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2272 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2273 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2275 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2276 return (void *)((wxObject
*) ((wxSizer
*) x
));
2278 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2279 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2281 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2282 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2284 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2287 static void *_p_wxEventTo_p_wxObject(void *x
) {
2288 return (void *)((wxObject
*) ((wxEvent
*) x
));
2290 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2293 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2294 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2296 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2297 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2299 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2300 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2302 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2303 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2305 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2306 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2308 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2309 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2311 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2312 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2314 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2315 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2317 static void *_p_wxControlTo_p_wxObject(void *x
) {
2318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2320 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2321 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2323 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2324 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2326 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2329 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2330 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2332 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2333 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2335 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2336 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2338 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2339 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2341 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2344 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2345 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2347 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2348 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2350 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2351 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2353 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2354 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2356 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2359 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2360 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2362 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2363 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2365 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2366 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2368 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2369 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2371 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2372 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2374 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2375 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2377 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2380 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2381 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2383 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2384 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2386 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2387 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2389 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2392 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2395 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2396 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2398 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2399 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2401 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2402 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2404 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2407 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2408 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2410 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2413 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2414 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2416 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2417 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2419 static void *_p_wxImageTo_p_wxObject(void *x
) {
2420 return (void *)((wxObject
*) ((wxImage
*) x
));
2422 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2423 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2425 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2426 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2428 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2429 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2431 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2434 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2435 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2437 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2438 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2440 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2441 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2443 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2444 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2446 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2449 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2450 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2452 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2453 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2455 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2458 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2459 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2461 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2462 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2464 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2465 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2467 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2468 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2470 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2471 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2473 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2474 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2476 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2479 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2480 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2482 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2483 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2485 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2486 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2488 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2491 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2492 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2494 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2497 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2500 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2503 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2506 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2507 return (void *)((wxWindow
*) ((wxControl
*) x
));
2509 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2510 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2512 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2513 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2515 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2516 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2518 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2519 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2521 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2522 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2524 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2525 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2527 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2528 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2530 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2531 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2533 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2534 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2536 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2537 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2539 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2540 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2542 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2543 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2545 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2548 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2549 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2551 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2554 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2555 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2557 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2558 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2560 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2561 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2563 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2564 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2566 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2569 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2570 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2572 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2573 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2575 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2578 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2579 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2581 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2582 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2584 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2587 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2588 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2590 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2591 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2593 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2594 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2596 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2597 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2599 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2600 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2602 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2603 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2605 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2608 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2609 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2611 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2614 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2615 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2617 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2620 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2621 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2623 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2624 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2626 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2629 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2630 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2632 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2633 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2635 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2636 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2638 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2639 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2641 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2642 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2644 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2645 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2647 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2648 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2650 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2651 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2653 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2656 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2657 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2659 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2660 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2662 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2663 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2665 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2666 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2668 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2669 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2671 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2672 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2674 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2677 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2678 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2680 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2681 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2683 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2684 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2686 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2689 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2692 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2693 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2695 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2696 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2698 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2699 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2701 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2702 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2703 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}};
2704 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2705 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2706 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}};
2707 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}};
2708 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
2709 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}};
2710 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2711 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2712 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}};
2713 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2714 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}};
2716 static swig_type_info
*swig_types_initial
[] = {
2717 _swigt__p_wxDateTime__WeekDay
,
2720 _swigt__p_wxCalendarEvent
,
2721 _swigt__p_wxCalendarDateAttr
,
2723 _swigt__p_wxCommandEvent
,
2725 _swigt__p_wxEvtHandler
,
2727 _swigt__p_wxDateTime
,
2728 _swigt__p_wxControl
,
2729 _swigt__p_wxCalendarCtrl
,
2735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2737 static swig_const_info swig_const_table
[] = {
2747 SWIGEXPORT(void) SWIG_init(void) {
2748 static PyObject
*SWIG_globals
= 0;
2749 static int typeinit
= 0;
2752 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2753 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2754 d
= PyModule_GetDict(m
);
2757 for (i
= 0; swig_types_initial
[i
]; i
++) {
2758 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2762 SWIG_InstallConstants(d
,swig_const_table
);
2764 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_SUNDAY_FIRST
));
2765 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_MONDAY_FIRST
));
2766 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2767 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2768 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2769 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_PyObj_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2770 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2771 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2772 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_HEADER
));
2773 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DAY
));
2774 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2775 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2776 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2777 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_NONE
));
2778 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_SQUARE
));
2779 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_PyObj_FromInt((int)wxCAL_BORDER_ROUND
));
2780 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2781 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2782 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2783 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2784 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2785 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2786 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2787 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);