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();
1027 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1028 result
= (wxDateTime
*) &_result_ref
;
1031 wxPyEndAllowThreads(__tstate
);
1032 if (PyErr_Occurred()) SWIG_fail
;
1034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1041 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1043 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1044 wxDateTime
*arg2
= 0 ;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1048 (char *) "self",(char *) "date", NULL
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1064 Py_INCREF(Py_None
); resultobj
= Py_None
;
1071 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1073 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1075 PyObject
* obj0
= 0 ;
1077 (char *) "self",(char *) "wd", NULL
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
1081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) SWIG_fail
;
1089 Py_INCREF(Py_None
); resultobj
= Py_None
;
1096 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
*resultobj
;
1098 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1100 PyObject
* obj0
= 0 ;
1102 (char *) "self", NULL
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1114 resultobj
= PyInt_FromLong((long)result
);
1121 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1124 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1126 return Py_BuildValue((char *)"");
1128 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1129 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1134 static PyObject
*_wrap_CalendarNameStr_get() {
1139 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1141 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1148 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
*resultobj
;
1150 wxWindow
*arg1
= (wxWindow
*) 0 ;
1152 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1153 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1158 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1159 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1160 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1161 wxCalendarCtrl
*result
;
1164 bool temp7
= False
;
1165 PyObject
* obj0
= 0 ;
1166 PyObject
* obj2
= 0 ;
1167 PyObject
* obj3
= 0 ;
1168 PyObject
* obj4
= 0 ;
1169 PyObject
* obj6
= 0 ;
1171 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
1175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1177 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1185 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1191 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1196 arg7
= wxString_in_helper(obj6
);
1197 if (arg7
== NULL
) SWIG_fail
;
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1223 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
*resultobj
;
1225 wxCalendarCtrl
*result
;
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1245 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
*resultobj
;
1247 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1248 wxWindow
*arg2
= (wxWindow
*) 0 ;
1250 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1251 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1256 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1257 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1258 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1262 bool temp8
= False
;
1263 PyObject
* obj0
= 0 ;
1264 PyObject
* obj1
= 0 ;
1265 PyObject
* obj3
= 0 ;
1266 PyObject
* obj4
= 0 ;
1267 PyObject
* obj5
= 0 ;
1268 PyObject
* obj7
= 0 ;
1270 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1277 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1285 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1291 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1296 arg8
= wxString_in_helper(obj7
);
1297 if (arg8
== NULL
) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 resultobj
= PyInt_FromLong((long)result
);
1323 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1326 wxDateTime
*arg2
= 0 ;
1327 PyObject
* obj0
= 0 ;
1328 PyObject
* obj1
= 0 ;
1330 (char *) "self",(char *) "date", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1346 Py_INCREF(Py_None
); resultobj
= Py_None
;
1353 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1355 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1357 PyObject
* obj0
= 0 ;
1359 (char *) "self", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1368 result
= (wxDateTime
*) &_result_ref
;
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1381 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1384 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1385 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1390 (char *) "self",(char *) "date", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1398 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1408 resultobj
= PyInt_FromLong((long)result
);
1415 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
*resultobj
;
1417 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1419 PyObject
* obj0
= 0 ;
1421 (char *) "self", NULL
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1430 result
= (wxDateTime
*) &_result_ref
;
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1443 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1445 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1446 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1447 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1449 PyObject
* obj0
= 0 ;
1450 PyObject
* obj1
= 0 ;
1452 (char *) "self",(char *) "date", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1470 resultobj
= PyInt_FromLong((long)result
);
1477 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1481 PyObject
* obj0
= 0 ;
1483 (char *) "self", NULL
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1492 result
= (wxDateTime
*) &_result_ref
;
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1505 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1508 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1509 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1510 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1511 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1515 PyObject
* obj2
= 0 ;
1517 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= PyInt_FromLong((long)result
);
1548 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1551 bool arg2
= (bool) True
;
1552 PyObject
* obj0
= 0 ;
1553 PyObject
* obj1
= 0 ;
1555 (char *) "self",(char *) "enable", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 arg2
= (bool) SPyObj_AsBool(obj1
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 (arg1
)->EnableYearChange(arg2
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 Py_INCREF(Py_None
); resultobj
= Py_None
;
1580 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1583 bool arg2
= (bool) True
;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1587 (char *) "self",(char *) "enable", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 arg2
= (bool) SPyObj_AsBool(obj1
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 (arg1
)->EnableMonthChange(arg2
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 Py_INCREF(Py_None
); resultobj
= Py_None
;
1612 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1615 bool arg2
= (bool) True
;
1616 PyObject
* obj0
= 0 ;
1617 PyObject
* obj1
= 0 ;
1619 (char *) "self",(char *) "display", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1626 arg2
= (bool) SPyObj_AsBool(obj1
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 (arg1
)->EnableHolidayDisplay(arg2
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 Py_INCREF(Py_None
); resultobj
= Py_None
;
1644 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1647 wxColour
*arg2
= 0 ;
1648 wxColour
*arg3
= 0 ;
1651 PyObject
* obj0
= 0 ;
1652 PyObject
* obj1
= 0 ;
1653 PyObject
* obj2
= 0 ;
1655 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1666 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1675 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 wxColour
* resultptr
;
1702 resultptr
= new wxColour((wxColour
&) result
);
1703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1711 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1715 PyObject
* obj0
= 0 ;
1717 (char *) "self", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 wxColour
* resultptr
;
1731 resultptr
= new wxColour((wxColour
&) result
);
1732 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1740 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1743 wxColour
*arg2
= 0 ;
1744 wxColour
*arg3
= 0 ;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1749 PyObject
* obj2
= 0 ;
1751 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 Py_INCREF(Py_None
); resultobj
= Py_None
;
1778 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "self", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxColour
* resultptr
;
1798 resultptr
= new wxColour((wxColour
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1807 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1826 wxColour
* resultptr
;
1827 resultptr
= new wxColour((wxColour
&) result
);
1828 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1836 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1839 wxColour
*arg2
= 0 ;
1840 wxColour
*arg3
= 0 ;
1843 PyObject
* obj0
= 0 ;
1844 PyObject
* obj1
= 0 ;
1845 PyObject
* obj2
= 0 ;
1847 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1858 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 Py_INCREF(Py_None
); resultobj
= Py_None
;
1874 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1893 wxColour
* resultptr
;
1894 resultptr
= new wxColour((wxColour
&) result
);
1895 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1903 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1922 wxColour
* resultptr
;
1923 resultptr
= new wxColour((wxColour
&) result
);
1924 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1932 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1936 wxCalendarDateAttr
*result
;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1940 (char *) "self",(char *) "day", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1946 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) SWIG_fail
;
1956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1963 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1967 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1970 PyObject
* obj2
= 0 ;
1972 (char *) "self",(char *) "day",(char *) "attr", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1978 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 (arg1
)->SetAttr(arg2
,arg3
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2003 (char *) "self",(char *) "day", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2009 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 (arg1
)->SetHoliday(arg2
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2026 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2030 PyObject
* obj0
= 0 ;
2031 PyObject
* obj1
= 0 ;
2033 (char *) "self",(char *) "day", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2039 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 (arg1
)->ResetAttr(arg2
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 Py_INCREF(Py_None
); resultobj
= Py_None
;
2056 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2060 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
2061 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2066 PyObject
* obj2
= 0 ;
2067 PyObject
* obj3
= 0 ;
2069 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2079 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 resultobj
= PyInt_FromLong((long)result
);
2098 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2101 bool arg2
= (bool) True
;
2103 PyObject
* obj0
= 0 ;
2104 PyObject
* obj1
= 0 ;
2106 (char *) "self",(char *) "enable", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 arg2
= (bool) SPyObj_AsBool(obj1
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 result
= (bool)(arg1
)->Enable(arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 resultobj
= PyInt_FromLong((long)result
);
2131 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2134 bool arg2
= (bool) True
;
2136 PyObject
* obj0
= 0 ;
2137 PyObject
* obj1
= 0 ;
2139 (char *) "self",(char *) "show", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2146 arg2
= (bool) SPyObj_AsBool(obj1
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 result
= (bool)(arg1
)->Show(arg2
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 resultobj
= PyInt_FromLong((long)result
);
2164 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "self", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 resultobj
= wxPyMake_wxObject(result
);
2191 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "self", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= wxPyMake_wxObject(result
);
2218 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2221 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2223 return Py_BuildValue((char *)"");
2225 static PyMethodDef SwigMethods
[] = {
2226 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2227 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2228 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2229 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2230 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2231 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2232 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2233 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2234 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2235 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2236 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2237 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2238 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2239 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2240 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2241 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2242 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2243 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2244 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2245 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2246 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2247 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2248 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2249 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2250 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2251 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2252 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2253 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2254 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2255 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2256 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2257 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2258 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2259 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2260 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2261 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2262 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2263 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2264 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2265 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2266 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2267 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2268 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2269 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2270 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2271 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2272 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2273 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2274 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2275 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2276 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2277 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2278 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2279 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2280 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2281 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2282 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2283 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2290 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2291 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2293 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2296 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2297 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2299 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2300 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2302 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2305 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2306 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2308 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2309 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2311 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2312 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2314 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2315 return (void *)((wxObject
*) ((wxSizer
*) x
));
2317 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2318 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2320 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2321 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2323 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2326 static void *_p_wxEventTo_p_wxObject(void *x
) {
2327 return (void *)((wxObject
*) ((wxEvent
*) x
));
2329 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2330 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2332 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2333 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2335 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2336 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2338 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2339 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2341 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2342 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2344 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2347 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2348 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2350 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2351 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2353 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2354 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2356 static void *_p_wxControlTo_p_wxObject(void *x
) {
2357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2359 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2360 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2362 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2363 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2365 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2368 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2369 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2371 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2372 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2374 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2375 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2377 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2378 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2380 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2383 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2384 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2386 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2387 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2389 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2390 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2392 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2393 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2395 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2398 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2399 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2401 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2402 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2404 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2405 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2407 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2408 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2410 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2411 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2413 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2414 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2416 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2419 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2422 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2425 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2428 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2431 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2434 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2435 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2437 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2438 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2440 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2441 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2443 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2446 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2447 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2449 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2452 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2453 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2455 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2456 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2458 static void *_p_wxImageTo_p_wxObject(void *x
) {
2459 return (void *)((wxObject
*) ((wxImage
*) x
));
2461 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2462 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2464 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2465 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2467 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2468 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2470 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2471 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2473 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2474 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2476 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2477 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2479 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2480 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2482 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2483 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2485 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2488 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2489 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2491 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2492 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2494 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2497 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2498 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2500 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2503 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2504 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2506 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2507 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2509 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2510 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2512 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2513 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2515 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2518 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2519 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2521 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2522 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2524 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2525 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2527 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2530 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2531 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2533 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2536 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2539 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2542 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2543 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2545 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2546 return (void *)((wxWindow
*) ((wxControl
*) x
));
2548 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2549 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2551 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2552 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2554 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2555 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2557 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2558 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2560 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2561 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2563 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2564 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2566 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2567 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2569 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2570 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2572 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2573 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2575 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2576 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2578 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2579 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2581 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2582 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2584 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2585 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2587 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2588 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2590 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2593 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2594 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2596 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2597 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2599 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2600 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2602 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2603 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2605 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2606 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2608 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2609 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2611 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2612 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2614 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2617 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2618 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2620 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2621 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2623 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2626 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2627 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2629 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2630 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2632 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2633 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2635 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2636 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2638 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2639 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2641 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2642 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2644 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2647 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2648 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2650 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2653 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2654 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2656 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2659 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2660 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2662 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2663 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2665 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2666 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2668 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2669 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2671 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2672 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2674 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2675 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2677 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2678 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2680 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2681 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2683 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2684 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2686 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2687 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2689 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2690 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2692 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2693 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2695 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2696 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2698 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2699 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2701 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2702 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2704 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2705 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2707 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2708 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2710 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2711 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2713 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2716 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2717 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2719 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2720 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2722 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2723 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2725 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2728 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2731 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2732 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2734 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2735 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2737 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2738 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2740 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2741 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2742 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}};
2743 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2744 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2745 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}};
2746 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}};
2747 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2748 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}};
2749 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2750 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2751 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}};
2752 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2753 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}};
2755 static swig_type_info
*swig_types_initial
[] = {
2756 _swigt__p_wxDateTime__WeekDay
,
2759 _swigt__p_wxCalendarEvent
,
2760 _swigt__p_wxCalendarDateAttr
,
2762 _swigt__p_wxCommandEvent
,
2764 _swigt__p_wxEvtHandler
,
2766 _swigt__p_wxDateTime
,
2767 _swigt__p_wxControl
,
2768 _swigt__p_wxCalendarCtrl
,
2774 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2776 static swig_const_info swig_const_table
[] = {
2777 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2778 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2779 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2780 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2781 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2782 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2783 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2784 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2785 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2786 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2787 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2788 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2789 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2790 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2791 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2792 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2793 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2794 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2795 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2796 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2797 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2798 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2808 SWIGEXPORT(void) SWIG_init(void) {
2809 static PyObject
*SWIG_globals
= 0;
2810 static int typeinit
= 0;
2813 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2814 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2815 d
= PyModule_GetDict(m
);
2818 for (i
= 0; swig_types_initial
[i
]; i
++) {
2819 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2823 SWIG_InstallConstants(d
,swig_const_table
);
2825 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2826 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2827 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2828 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2829 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2830 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2831 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2832 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);