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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxDateTime__WeekDay swig_types[0]
385 #define SWIGTYPE_p_wxColour swig_types[1]
386 #define SWIGTYPE_p_wxObject swig_types[2]
387 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
388 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
389 #define SWIGTYPE_p_wxWindow swig_types[5]
390 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
391 #define SWIGTYPE_p_wxString swig_types[7]
392 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
393 #define SWIGTYPE_p_wxFont swig_types[9]
394 #define SWIGTYPE_p_wxDateTime swig_types[10]
395 #define SWIGTYPE_p_wxControl swig_types[11]
396 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
397 #define SWIGTYPE_p_wxEvent swig_types[13]
398 static swig_type_info
*swig_types
[15];
400 /* -------- TYPES TABLE (END) -------- */
403 /*-----------------------------------------------
404 @(target):= _calendar.so
405 ------------------------------------------------*/
406 #define SWIG_init init_calendar
408 #define SWIG_name "_calendar"
410 #include "wx/wxPython/wxPython.h"
411 #include "wx/wxPython/pyclasses.h"
413 #include <wx/calctrl.h>
415 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
419 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 wxColour
const &arg2_defvalue
= wxNullColour
;
423 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
424 wxColour
const &arg3_defvalue
= wxNullColour
;
425 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
426 wxFont
const &arg4_defvalue
= wxNullFont
;
427 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
428 int arg5
= (int) wxCAL_BORDER_NONE
;
429 wxCalendarDateAttr
*result
;
433 PyObject
* obj0
= 0 ;
434 PyObject
* obj1
= 0 ;
435 PyObject
* obj2
= 0 ;
436 PyObject
* obj3
= 0 ;
438 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
444 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
455 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
459 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) SWIG_fail
;
471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
478 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 wxColour
const &arg2_defvalue
= wxNullColour
;
482 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
483 wxCalendarDateAttr
*result
;
485 PyObject
* obj1
= 0 ;
487 (char *) "border",(char *) "colBorder", NULL
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
494 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
501 wxPyEndAllowThreads(__tstate
);
502 if (PyErr_Occurred()) SWIG_fail
;
504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
511 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
516 PyObject
* obj0
= 0 ;
517 PyObject
* obj1
= 0 ;
519 (char *) "self",(char *) "colText", NULL
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) SWIG_fail
;
535 Py_INCREF(Py_None
); resultobj
= Py_None
;
542 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
547 PyObject
* obj0
= 0 ;
548 PyObject
* obj1
= 0 ;
550 (char *) "self",(char *) "colBack", NULL
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) SWIG_fail
;
566 Py_INCREF(Py_None
); resultobj
= Py_None
;
573 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
578 PyObject
* obj0
= 0 ;
579 PyObject
* obj1
= 0 ;
581 (char *) "self",(char *) "col", NULL
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) SWIG_fail
;
597 Py_INCREF(Py_None
); resultobj
= Py_None
;
604 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
608 PyObject
* obj0
= 0 ;
609 PyObject
* obj1
= 0 ;
611 (char *) "self",(char *) "font", NULL
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 (arg1
)->SetFont((wxFont
const &)*arg2
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) SWIG_fail
;
627 Py_INCREF(Py_None
); resultobj
= Py_None
;
634 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
638 PyObject
* obj0
= 0 ;
640 (char *) "self",(char *) "border", NULL
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) SWIG_fail
;
652 Py_INCREF(Py_None
); resultobj
= Py_None
;
659 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
663 PyObject
* obj0
= 0 ;
664 PyObject
* obj1
= 0 ;
666 (char *) "self",(char *) "holiday", NULL
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
672 arg2
= (bool) SPyObj_AsBool(obj1
);
673 if (PyErr_Occurred()) SWIG_fail
;
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 (arg1
)->SetHoliday(arg2
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) SWIG_fail
;
682 Py_INCREF(Py_None
); resultobj
= Py_None
;
689 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
693 PyObject
* obj0
= 0 ;
695 (char *) "self", NULL
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) SWIG_fail
;
707 resultobj
= PyInt_FromLong((long)result
);
714 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
718 PyObject
* obj0
= 0 ;
720 (char *) "self", NULL
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) SWIG_fail
;
732 resultobj
= PyInt_FromLong((long)result
);
739 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
743 PyObject
* obj0
= 0 ;
745 (char *) "self", NULL
748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
752 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
754 wxPyEndAllowThreads(__tstate
);
755 if (PyErr_Occurred()) SWIG_fail
;
757 resultobj
= PyInt_FromLong((long)result
);
764 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
768 PyObject
* obj0
= 0 ;
770 (char *) "self", NULL
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
777 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
779 wxPyEndAllowThreads(__tstate
);
780 if (PyErr_Occurred()) SWIG_fail
;
782 resultobj
= PyInt_FromLong((long)result
);
789 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
793 PyObject
* obj0
= 0 ;
795 (char *) "self", NULL
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) SWIG_fail
;
807 resultobj
= PyInt_FromLong((long)result
);
814 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
818 PyObject
* obj0
= 0 ;
820 (char *) "self", NULL
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
827 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
829 wxPyEndAllowThreads(__tstate
);
830 if (PyErr_Occurred()) SWIG_fail
;
832 resultobj
= PyInt_FromLong((long)result
);
839 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
843 PyObject
* obj0
= 0 ;
845 (char *) "self", NULL
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) SWIG_fail
;
858 wxColour
* resultptr
;
859 resultptr
= new wxColour((wxColour
&) result
);
860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
868 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
872 PyObject
* obj0
= 0 ;
874 (char *) "self", NULL
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) SWIG_fail
;
887 wxColour
* resultptr
;
888 resultptr
= new wxColour((wxColour
&) result
);
889 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
897 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
901 PyObject
* obj0
= 0 ;
903 (char *) "self", NULL
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) SWIG_fail
;
916 wxColour
* resultptr
;
917 resultptr
= new wxColour((wxColour
&) result
);
918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
926 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
930 PyObject
* obj0
= 0 ;
932 (char *) "self", NULL
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) SWIG_fail
;
946 resultptr
= new wxFont((wxFont
&) result
);
947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
955 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
959 PyObject
* obj0
= 0 ;
961 (char *) "self", NULL
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 resultobj
= PyInt_FromLong((long)result
);
980 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
983 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
985 return Py_BuildValue((char *)"");
987 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
991 wxCalendarEvent
*result
;
992 PyObject
* obj0
= 0 ;
994 (char *) "cal",(char *) "type", NULL
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:new_CalendarEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) SWIG_fail
;
1006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
1013 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
*resultobj
;
1015 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1017 PyObject
* obj0
= 0 ;
1019 (char *) "self", NULL
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) SWIG_fail
;
1032 wxDateTime
* resultptr
;
1033 resultptr
= new wxDateTime((wxDateTime
&) result
);
1034 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
1042 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
*resultobj
;
1044 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1045 wxDateTime
*arg2
= 0 ;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1049 (char *) "self",(char *) "date", NULL
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1054 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 Py_INCREF(Py_None
); resultobj
= Py_None
;
1072 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
*resultobj
;
1074 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1076 PyObject
* obj0
= 0 ;
1078 (char *) "self",(char *) "wd", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1090 Py_INCREF(Py_None
); resultobj
= Py_None
;
1097 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
*resultobj
;
1099 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1101 PyObject
* obj0
= 0 ;
1103 (char *) "self", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 resultobj
= PyInt_FromLong((long)result
);
1122 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1125 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1127 return Py_BuildValue((char *)"");
1129 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1130 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1135 static PyObject
*_wrap_CalendarNameStr_get() {
1140 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1142 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1149 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1151 wxWindow
*arg1
= (wxWindow
*) 0 ;
1153 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1154 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1159 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1160 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1162 wxCalendarCtrl
*result
;
1165 bool temp7
= False
;
1166 PyObject
* obj0
= 0 ;
1167 PyObject
* obj2
= 0 ;
1168 PyObject
* obj3
= 0 ;
1169 PyObject
* obj4
= 0 ;
1170 PyObject
* obj6
= 0 ;
1172 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1197 arg7
= wxString_in_helper(obj6
);
1198 if (arg7
== NULL
) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1224 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 wxCalendarCtrl
*result
;
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1246 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1249 wxWindow
*arg2
= (wxWindow
*) 0 ;
1251 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1252 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1253 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1254 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1255 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1256 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1257 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1258 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1263 bool temp8
= False
;
1264 PyObject
* obj0
= 0 ;
1265 PyObject
* obj1
= 0 ;
1266 PyObject
* obj3
= 0 ;
1267 PyObject
* obj4
= 0 ;
1268 PyObject
* obj5
= 0 ;
1269 PyObject
* obj7
= 0 ;
1271 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1278 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1286 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1292 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1297 arg8
= wxString_in_helper(obj7
);
1298 if (arg8
== NULL
) SWIG_fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 resultobj
= PyInt_FromLong((long)result
);
1324 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1327 wxDateTime
*arg2
= 0 ;
1328 PyObject
* obj0
= 0 ;
1329 PyObject
* obj1
= 0 ;
1331 (char *) "self",(char *) "date", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 Py_INCREF(Py_None
); resultobj
= Py_None
;
1354 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1356 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1369 result
= (wxDateTime
*) &_result_ref
;
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) SWIG_fail
;
1375 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1382 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1385 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1386 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1391 (char *) "self",(char *) "date", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1409 resultobj
= PyInt_FromLong((long)result
);
1416 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1422 (char *) "self", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1431 result
= (wxDateTime
*) &_result_ref
;
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1437 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1444 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1447 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1448 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1450 PyObject
* obj0
= 0 ;
1451 PyObject
* obj1
= 0 ;
1453 (char *) "self",(char *) "date", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 resultobj
= PyInt_FromLong((long)result
);
1478 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "self", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1493 result
= (wxDateTime
*) &_result_ref
;
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1506 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1509 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1510 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1511 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1512 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1514 PyObject
* obj0
= 0 ;
1515 PyObject
* obj1
= 0 ;
1516 PyObject
* obj2
= 0 ;
1518 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1526 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= PyInt_FromLong((long)result
);
1549 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1552 bool arg2
= (bool) True
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1556 (char *) "self",(char *) "enable", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 arg2
= (bool) SPyObj_AsBool(obj1
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 (arg1
)->EnableYearChange(arg2
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1574 Py_INCREF(Py_None
); resultobj
= Py_None
;
1581 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
*resultobj
;
1583 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1584 bool arg2
= (bool) True
;
1585 PyObject
* obj0
= 0 ;
1586 PyObject
* obj1
= 0 ;
1588 (char *) "self",(char *) "enable", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1595 arg2
= (bool) SPyObj_AsBool(obj1
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 (arg1
)->EnableMonthChange(arg2
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 Py_INCREF(Py_None
); resultobj
= Py_None
;
1613 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1616 bool arg2
= (bool) True
;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1620 (char *) "self",(char *) "display", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1627 arg2
= (bool) SPyObj_AsBool(obj1
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 (arg1
)->EnableHolidayDisplay(arg2
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1638 Py_INCREF(Py_None
); resultobj
= Py_None
;
1645 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1648 wxColour
*arg2
= 0 ;
1649 wxColour
*arg3
= 0 ;
1652 PyObject
* obj0
= 0 ;
1653 PyObject
* obj1
= 0 ;
1654 PyObject
* obj2
= 0 ;
1656 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1667 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 wxColour
* resultptr
;
1703 resultptr
= new wxColour((wxColour
&) result
);
1704 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1712 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 wxColour
* resultptr
;
1732 resultptr
= new wxColour((wxColour
&) result
);
1733 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1741 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1744 wxColour
*arg2
= 0 ;
1745 wxColour
*arg3
= 0 ;
1748 PyObject
* obj0
= 0 ;
1749 PyObject
* obj1
= 0 ;
1750 PyObject
* obj2
= 0 ;
1752 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1763 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1785 (char *) "self", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1798 wxColour
* resultptr
;
1799 resultptr
= new wxColour((wxColour
&) result
);
1800 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1808 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1814 (char *) "self", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 wxColour
* resultptr
;
1828 resultptr
= new wxColour((wxColour
&) result
);
1829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1837 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1840 wxColour
*arg2
= 0 ;
1841 wxColour
*arg3
= 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1846 PyObject
* obj2
= 0 ;
1848 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1859 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1894 wxColour
* resultptr
;
1895 resultptr
= new wxColour((wxColour
&) result
);
1896 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1904 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 wxColour
* resultptr
;
1924 resultptr
= new wxColour((wxColour
&) result
);
1925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1933 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1937 wxCalendarDateAttr
*result
;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1941 (char *) "self",(char *) "day", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1947 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1964 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1968 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1969 PyObject
* obj0
= 0 ;
1970 PyObject
* obj1
= 0 ;
1971 PyObject
* obj2
= 0 ;
1973 (char *) "self",(char *) "day",(char *) "attr", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1979 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 (arg1
)->SetAttr(arg2
,arg3
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2001 PyObject
* obj0
= 0 ;
2002 PyObject
* obj1
= 0 ;
2004 (char *) "self",(char *) "day", NULL
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2010 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->SetHoliday(arg2
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 (char *) "self",(char *) "day", NULL
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2040 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 (arg1
)->ResetAttr(arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 Py_INCREF(Py_None
); resultobj
= Py_None
;
2057 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2061 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
2062 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
2065 PyObject
* obj0
= 0 ;
2066 PyObject
* obj1
= 0 ;
2067 PyObject
* obj2
= 0 ;
2068 PyObject
* obj3
= 0 ;
2070 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2080 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2083 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 resultobj
= PyInt_FromLong((long)result
);
2099 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2102 bool arg2
= (bool) True
;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "enable", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 arg2
= (bool) SPyObj_AsBool(obj1
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (bool)(arg1
)->Enable(arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 resultobj
= PyInt_FromLong((long)result
);
2132 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2135 bool arg2
= (bool) True
;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2140 (char *) "self",(char *) "show", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 arg2
= (bool) SPyObj_AsBool(obj1
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)(arg1
)->Show(arg2
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= PyInt_FromLong((long)result
);
2165 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2169 PyObject
* obj0
= 0 ;
2171 (char *) "self", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 resultobj
= wxPyMake_wxObject(result
);
2192 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= wxPyMake_wxObject(result
);
2219 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2222 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2224 return Py_BuildValue((char *)"");
2226 static PyMethodDef SwigMethods
[] = {
2227 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2228 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2229 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2230 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2231 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2232 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2233 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2234 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2235 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2236 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2237 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2238 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2239 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2240 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2241 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2242 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2243 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2244 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2245 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2246 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2247 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2248 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2249 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2250 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2251 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2252 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2253 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2254 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2255 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2256 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2257 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2258 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2259 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2260 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2261 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2262 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2263 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2264 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2265 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2266 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2267 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2268 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2269 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2270 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2271 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2272 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2273 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2274 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2275 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2276 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2277 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2278 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2279 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2280 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2281 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2282 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2283 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2284 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2289 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2291 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2292 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2294 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2297 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2298 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2300 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2301 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2303 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2306 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2307 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2309 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2310 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2312 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2313 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2315 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2316 return (void *)((wxObject
*) ((wxSizer
*) x
));
2318 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2319 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2321 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2322 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2324 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2327 static void *_p_wxEventTo_p_wxObject(void *x
) {
2328 return (void *)((wxObject
*) ((wxEvent
*) x
));
2330 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2331 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2333 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2334 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2336 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2337 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2339 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2340 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2342 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2343 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2345 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2348 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2351 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2354 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2357 static void *_p_wxControlTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2360 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2363 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2366 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2369 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2372 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2375 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2378 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2381 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2384 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2387 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2390 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2393 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2396 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2399 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2402 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2405 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2408 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2411 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2414 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2417 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2420 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2423 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2426 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2429 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2432 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2435 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2438 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2441 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2444 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2447 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2450 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2453 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2456 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2459 static void *_p_wxImageTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) ((wxImage
*) x
));
2462 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2465 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2468 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2471 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2474 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2477 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2480 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2483 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2486 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2489 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2492 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2495 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2498 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2501 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2504 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2505 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2507 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2508 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2510 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2511 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2513 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2514 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2519 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2520 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2522 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2523 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2525 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2526 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2528 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2531 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2532 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2534 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2537 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2540 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2543 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2544 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2546 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2547 return (void *)((wxWindow
*) ((wxControl
*) x
));
2549 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2550 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2552 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2553 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2555 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2556 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2558 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2559 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2561 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2562 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2564 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2565 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2567 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2568 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2570 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2571 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2573 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2574 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2576 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2577 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2579 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2580 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2582 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2583 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2585 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2586 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2588 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2589 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2591 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2594 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2595 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2597 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2598 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2600 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2601 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2603 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2604 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2606 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2607 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2609 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2610 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2612 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2613 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2615 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2618 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2619 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2621 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2622 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2624 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2625 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2627 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2628 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2630 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2631 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2633 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2634 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2636 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2637 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2639 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2640 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2642 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2643 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2645 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2648 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2649 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2651 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2652 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2654 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2655 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2657 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2660 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2661 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2663 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2664 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2666 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2667 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2669 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2670 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2672 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2673 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2675 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2676 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2678 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2681 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2682 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2684 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2685 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2687 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2688 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2690 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2691 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2693 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2696 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2697 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2699 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2700 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2702 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2703 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2705 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2706 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2708 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2709 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2711 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2712 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2714 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2717 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2718 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2720 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2721 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2723 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2724 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2726 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2729 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2732 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2733 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2735 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2736 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2738 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2739 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2741 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2742 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2743 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}};
2744 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2745 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2746 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}};
2747 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}};
2748 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2749 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}};
2750 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2751 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2752 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}};
2753 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2754 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}};
2756 static swig_type_info
*swig_types_initial
[] = {
2757 _swigt__p_wxDateTime__WeekDay
,
2760 _swigt__p_wxCalendarEvent
,
2761 _swigt__p_wxCalendarDateAttr
,
2763 _swigt__p_wxCommandEvent
,
2765 _swigt__p_wxEvtHandler
,
2767 _swigt__p_wxDateTime
,
2768 _swigt__p_wxControl
,
2769 _swigt__p_wxCalendarCtrl
,
2775 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2777 static swig_const_info swig_const_table
[] = {
2778 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2779 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2780 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2781 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2782 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2783 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2784 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2785 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2786 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2787 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2788 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2789 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2790 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2791 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2792 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2793 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2794 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2795 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2796 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2797 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2798 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2799 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2809 SWIGEXPORT(void) SWIG_init(void) {
2810 static PyObject
*SWIG_globals
= 0;
2811 static int typeinit
= 0;
2814 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2815 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2816 d
= PyModule_GetDict(m
);
2819 for (i
= 0; swig_types_initial
[i
]; i
++) {
2820 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2824 SWIG_InstallConstants(d
,swig_const_table
);
2826 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2827 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2828 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2829 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2830 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2831 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2832 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2833 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);