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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxColour swig_types[0]
210 #define SWIGTYPE_p_wxObject swig_types[1]
211 #define SWIGTYPE_p_wxVisualAttributes swig_types[2]
212 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
213 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
214 #define SWIGTYPE_p_wxWindow swig_types[5]
215 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
218 #define SWIGTYPE_p_wxFont swig_types[9]
219 #define SWIGTYPE_p_wxDateTime swig_types[10]
220 #define SWIGTYPE_p_wxControl swig_types[11]
221 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 static swig_type_info
*swig_types
[15];
225 /* -------- TYPES TABLE (END) -------- */
228 /*-----------------------------------------------
229 @(target):= _calendar.so
230 ------------------------------------------------*/
231 #define SWIG_init init_calendar
233 #define SWIG_name "_calendar"
235 /* Auxiliar swig macros */
238 #define SWIGSTATICINLINE(a) static inline a
239 #define SWIGSTATIC(a) static a
240 #define swig_new_array(type, size) (new type[(size)])
241 #define swig_delete_array(cptr) delete[] cptr
242 #define swig_const_cast(type,a) const_cast<type>(a)
243 #define swig_static_cast(type,a) static_cast<type>(a)
244 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
246 #ifdef HAVE_NUMERIC_CAST
247 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
249 #define swig_numeric_cast(type,a) static_cast<type>(a)
254 #define SWIGSTATICINLINE(a) static a
255 #define SWIGSTATIC(a) static a
256 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
257 #define swig_delete_array(cptr) free((char*)cptr)
258 #define swig_const_cast(type,a) (type)(a)
259 #define swig_static_cast(type,a) (type)(a)
260 #define swig_reinterpret_cast(type,a) (type)(a)
261 #define swig_numeric_cast(type,a) (type)(a)
263 #endif /* __cplusplus */
266 #define SWIG_FromSignedChar PyInt_FromLong
267 #define SWIG_FromUnsignedChar PyInt_FromLong
268 #define SWIG_FromShort PyInt_FromLong
269 #define SWIG_FromUnsignedShort PyInt_FromLong
270 #define SWIG_FromInt PyInt_FromLong
271 #define SWIG_FromLong PyInt_FromLong
272 #define SWIG_FromFloat PyFloat_FromDouble
273 #define SWIG_FromDouble PyFloat_FromDouble
274 #define SWIG_FromFloat PyFloat_FromDouble
275 #define SWIG_FromDouble PyFloat_FromDouble
278 #include "wx/wxPython/wxPython.h"
279 #include "wx/wxPython/pyclasses.h"
281 #include <wx/calctrl.h>
287 SWIGSTATICINLINE(long)
288 SWIG_CheckLongInRange(long value
, const char* type
,
289 long min_value
, long max_value
)
291 if (!PyErr_Occurred()) {
292 if (value
< min_value
) {
294 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
295 value
, type
, min_value
);
297 PyErr_SetObject(PyExc_OverflowError
, err
);
299 } else if (value
> max_value
) {
301 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
302 value
, type
, max_value
);
303 PyErr_SetObject(PyExc_OverflowError
, err
);
311 SWIGSTATICINLINE(long)
312 SWIG_AsLong(PyObject
* obj
)
314 if (PyNumber_Check(obj
))
315 return PyInt_AsLong(obj
);
317 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
318 obj
->ob_type
->tp_name
);
319 PyErr_SetObject(PyExc_TypeError
, errmsg
);
326 #if INT_MAX != LONG_MAX
327 SWIGSTATICINLINE(int)
328 SWIG_AsInt(PyObject
*obj
)
330 return swig_numeric_cast(int,
331 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
332 "int", INT_MIN
, INT_MAX
));
335 #define SWIG_AsInt SWIG_AsLong
339 SWIGSTATICINLINE(int)
340 SWIG_CheckInt(PyObject
* obj
)
343 if (PyErr_Occurred()) {
352 SWIGSTATICINLINE(bool)
353 SWIG_AsBool(PyObject
*obj
)
355 return PyObject_IsTrue(obj
) ? true : false;
359 SWIGSTATICINLINE(int)
360 SWIG_CheckBool(PyObject
* obj
)
363 if (PyErr_Occurred()) {
371 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
373 SWIGSTATICINLINE(int)
374 SWIG_CheckLong(PyObject
* obj
)
377 if (PyErr_Occurred()) {
386 SWIGSTATICINLINE(unsigned long)
387 SWIG_AsUnsignedLong(PyObject
* obj
)
389 if (PyLong_Check(obj
)) {
390 return PyLong_AsUnsignedLong(obj
);
392 long i
= SWIG_AsLong(obj
);
393 if ( !PyErr_Occurred() && (i
< 0)) {
394 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
401 SWIGSTATICINLINE(int)
402 SWIG_CheckUnsignedLong(PyObject
* obj
)
404 SWIG_AsUnsignedLong(obj
);
405 if (PyErr_Occurred()) {
413 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
414 wxDateTime
* date
= new wxDateTime
;
415 wxDateTime::WeekDay wd
;
416 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
417 bool blocked
= wxPyBeginBlockThreads();
418 PyObject
* tup
= PyTuple_New(3);
419 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
420 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
421 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
422 wxPyEndBlockThreads(blocked
);
428 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 wxColour
const &arg1_defvalue
= wxNullColour
;
431 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
432 wxColour
const &arg2_defvalue
= wxNullColour
;
433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
434 wxColour
const &arg3_defvalue
= wxNullColour
;
435 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
436 wxFont
const &arg4_defvalue
= wxNullFont
;
437 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
438 int arg5
= (int) wxCAL_BORDER_NONE
;
439 wxCalendarDateAttr
*result
;
443 PyObject
* obj0
= 0 ;
444 PyObject
* obj1
= 0 ;
445 PyObject
* obj2
= 0 ;
446 PyObject
* obj3
= 0 ;
447 PyObject
* obj4
= 0 ;
449 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
456 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
468 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
472 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
476 PyErr_SetString(PyExc_TypeError
,"null reference");
481 arg5
= (wxCalendarDateBorder
) SWIG_AsInt(obj4
);
482 if (PyErr_Occurred()) SWIG_fail
;
485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
486 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
488 wxPyEndAllowThreads(__tstate
);
489 if (PyErr_Occurred()) SWIG_fail
;
491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
498 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
503 PyObject
* obj0
= 0 ;
504 PyObject
* obj1
= 0 ;
506 (char *) "self",(char *) "colText", NULL
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
518 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
520 wxPyEndAllowThreads(__tstate
);
521 if (PyErr_Occurred()) SWIG_fail
;
523 Py_INCREF(Py_None
); resultobj
= Py_None
;
530 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
532 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
535 PyObject
* obj0
= 0 ;
536 PyObject
* obj1
= 0 ;
538 (char *) "self",(char *) "colBack", NULL
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) SWIG_fail
;
555 Py_INCREF(Py_None
); resultobj
= Py_None
;
562 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
567 PyObject
* obj0
= 0 ;
568 PyObject
* obj1
= 0 ;
570 (char *) "self",(char *) "col", NULL
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
582 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
584 wxPyEndAllowThreads(__tstate
);
585 if (PyErr_Occurred()) SWIG_fail
;
587 Py_INCREF(Py_None
); resultobj
= Py_None
;
594 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
598 PyObject
* obj0
= 0 ;
599 PyObject
* obj1
= 0 ;
601 (char *) "self",(char *) "font", NULL
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
611 PyErr_SetString(PyExc_TypeError
,"null reference");
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 (arg1
)->SetFont((wxFont
const &)*arg2
);
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) SWIG_fail
;
621 Py_INCREF(Py_None
); resultobj
= Py_None
;
628 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
632 PyObject
* obj0
= 0 ;
633 PyObject
* obj1
= 0 ;
635 (char *) "self",(char *) "border", NULL
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
641 arg2
= (wxCalendarDateBorder
) SWIG_AsInt(obj1
);
642 if (PyErr_Occurred()) SWIG_fail
;
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) SWIG_fail
;
650 Py_INCREF(Py_None
); resultobj
= Py_None
;
657 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
661 PyObject
* obj0
= 0 ;
662 PyObject
* obj1
= 0 ;
664 (char *) "self",(char *) "holiday", NULL
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
670 arg2
= (bool) SWIG_AsBool(obj1
);
671 if (PyErr_Occurred()) SWIG_fail
;
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 (arg1
)->SetHoliday(arg2
);
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) SWIG_fail
;
679 Py_INCREF(Py_None
); resultobj
= Py_None
;
686 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
690 PyObject
* obj0
= 0 ;
692 (char *) "self", NULL
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
700 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
702 wxPyEndAllowThreads(__tstate
);
703 if (PyErr_Occurred()) SWIG_fail
;
706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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
,
725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) SWIG_fail
;
734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
742 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
746 PyObject
* obj0
= 0 ;
748 (char *) "self", NULL
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) SWIG_fail
;
762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
770 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
774 PyObject
* obj0
= 0 ;
776 (char *) "self", NULL
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) SWIG_fail
;
790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
798 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
802 PyObject
* obj0
= 0 ;
804 (char *) "self", NULL
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) SWIG_fail
;
818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
826 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
830 PyObject
* obj0
= 0 ;
832 (char *) "self", NULL
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) SWIG_fail
;
846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
854 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
858 PyObject
* obj0
= 0 ;
860 (char *) "self", NULL
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
868 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
870 wxPyEndAllowThreads(__tstate
);
871 if (PyErr_Occurred()) SWIG_fail
;
874 wxColour
* resultptr
;
875 resultptr
= new wxColour((wxColour
&) result
);
876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
884 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
886 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
888 PyObject
* obj0
= 0 ;
890 (char *) "self", NULL
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
898 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
900 wxPyEndAllowThreads(__tstate
);
901 if (PyErr_Occurred()) SWIG_fail
;
904 wxColour
* resultptr
;
905 resultptr
= new wxColour((wxColour
&) result
);
906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
914 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
918 PyObject
* obj0
= 0 ;
920 (char *) "self", NULL
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) SWIG_fail
;
934 wxColour
* resultptr
;
935 resultptr
= new wxColour((wxColour
&) result
);
936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
944 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
948 PyObject
* obj0
= 0 ;
950 (char *) "self", NULL
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
958 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
960 wxPyEndAllowThreads(__tstate
);
961 if (PyErr_Occurred()) SWIG_fail
;
965 resultptr
= new wxFont((wxFont
&) result
);
966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
974 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
978 PyObject
* obj0
= 0 ;
980 (char *) "self", NULL
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 resultobj
= SWIG_FromInt((int)result
);
1000 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
1002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1003 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
1005 return Py_BuildValue((char *)"");
1007 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1011 wxCalendarEvent
*result
;
1012 PyObject
* obj0
= 0 ;
1013 PyObject
* obj1
= 0 ;
1015 (char *) "cal",(char *) "type", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1021 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1037 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1041 PyObject
* obj0
= 0 ;
1043 (char *) "self", NULL
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1057 wxDateTime
* resultptr
;
1058 resultptr
= new wxDateTime((wxDateTime
&) result
);
1059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1067 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
*resultobj
;
1069 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1070 wxDateTime
*arg2
= 0 ;
1071 PyObject
* obj0
= 0 ;
1072 PyObject
* obj1
= 0 ;
1074 (char *) "self",(char *) "date", NULL
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1084 PyErr_SetString(PyExc_TypeError
,"null reference");
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1094 Py_INCREF(Py_None
); resultobj
= Py_None
;
1101 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
*resultobj
;
1103 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1105 PyObject
* obj0
= 0 ;
1106 PyObject
* obj1
= 0 ;
1108 (char *) "self",(char *) "wd", NULL
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1114 arg2
= (wxDateTime::WeekDay
const) SWIG_AsInt(obj1
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) SWIG_fail
;
1123 Py_INCREF(Py_None
); resultobj
= Py_None
;
1130 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
*resultobj
;
1132 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1134 PyObject
* obj0
= 0 ;
1136 (char *) "self", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 resultobj
= SWIG_FromInt((int)result
);
1156 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1161 return Py_BuildValue((char *)"");
1163 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1164 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1169 static PyObject
*_wrap_CalendarNameStr_get() {
1174 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1176 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1183 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
*resultobj
;
1185 wxWindow
*arg1
= (wxWindow
*) 0 ;
1186 int arg2
= (int) -1 ;
1187 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1188 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1193 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1194 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1196 wxCalendarCtrl
*result
;
1199 bool temp7
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1202 PyObject
* obj2
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj6
= 0 ;
1208 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1215 arg2
= (int) SWIG_AsInt(obj1
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1219 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1223 PyErr_SetString(PyExc_TypeError
,"null reference");
1230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long) SWIG_AsLong(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1245 arg7
= wxString_in_helper(obj6
);
1246 if (arg7
== NULL
) SWIG_fail
;
1251 if (!wxPyCheckForApp()) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1273 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxCalendarCtrl
*result
;
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1282 if (!wxPyCheckForApp()) SWIG_fail
;
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1296 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1299 wxWindow
*arg2
= (wxWindow
*) 0 ;
1301 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1302 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1303 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1304 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1305 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1306 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1307 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1308 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1309 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1313 bool temp8
= False
;
1314 PyObject
* obj0
= 0 ;
1315 PyObject
* obj1
= 0 ;
1316 PyObject
* obj2
= 0 ;
1317 PyObject
* obj3
= 0 ;
1318 PyObject
* obj4
= 0 ;
1319 PyObject
* obj5
= 0 ;
1320 PyObject
* obj6
= 0 ;
1321 PyObject
* obj7
= 0 ;
1323 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1331 arg3
= (int) SWIG_AsInt(obj2
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1338 PyErr_SetString(PyExc_TypeError
,"null reference");
1345 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1351 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1355 arg7
= (long) SWIG_AsLong(obj6
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1360 arg8
= wxString_in_helper(obj7
);
1361 if (arg8
== NULL
) SWIG_fail
;
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1389 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1392 wxDateTime
*arg2
= 0 ;
1393 PyObject
* obj0
= 0 ;
1394 PyObject
* obj1
= 0 ;
1396 (char *) "self",(char *) "date", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1406 PyErr_SetString(PyExc_TypeError
,"null reference");
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1416 Py_INCREF(Py_None
); resultobj
= Py_None
;
1423 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
*resultobj
;
1425 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1427 PyObject
* obj0
= 0 ;
1429 (char *) "self", NULL
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1439 result
= (wxDateTime
*) &_result_ref
;
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1452 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1454 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1455 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1456 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1458 PyObject
* obj0
= 0 ;
1459 PyObject
* obj1
= 0 ;
1461 (char *) "self",(char *) "date", NULL
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1472 PyErr_SetString(PyExc_TypeError
,"null reference");
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1492 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1495 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1496 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1498 PyObject
* obj0
= 0 ;
1499 PyObject
* obj1
= 0 ;
1501 (char *) "self",(char *) "date", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1512 PyErr_SetString(PyExc_TypeError
,"null reference");
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1532 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1548 result
= (wxDateTime
*) &_result_ref
;
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1561 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1565 PyObject
* obj0
= 0 ;
1567 (char *) "self", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1577 result
= (wxDateTime
*) &_result_ref
;
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1590 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1593 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1594 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1595 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1596 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1598 PyObject
* obj0
= 0 ;
1599 PyObject
* obj1
= 0 ;
1600 PyObject
* obj2
= 0 ;
1602 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1613 PyErr_SetString(PyExc_TypeError
,"null reference");
1618 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1622 PyErr_SetString(PyExc_TypeError
,"null reference");
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1642 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1645 bool arg2
= (bool) True
;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1649 (char *) "self",(char *) "enable", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= (bool) SWIG_AsBool(obj1
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 (arg1
)->EnableYearChange(arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1675 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1676 bool arg2
= (bool) True
;
1677 PyObject
* obj0
= 0 ;
1678 PyObject
* obj1
= 0 ;
1680 (char *) "self",(char *) "enable", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1687 arg2
= (bool) SWIG_AsBool(obj1
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 (arg1
)->EnableMonthChange(arg2
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 Py_INCREF(Py_None
); resultobj
= Py_None
;
1704 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1707 bool arg2
= (bool) True
;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1711 (char *) "self",(char *) "display", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 arg2
= (bool) SWIG_AsBool(obj1
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 (arg1
)->EnableHolidayDisplay(arg2
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1728 Py_INCREF(Py_None
); resultobj
= Py_None
;
1735 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1737 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1738 wxColour
*arg2
= 0 ;
1739 wxColour
*arg3
= 0 ;
1742 PyObject
* obj0
= 0 ;
1743 PyObject
* obj1
= 0 ;
1744 PyObject
* obj2
= 0 ;
1746 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1754 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1758 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 wxColour
* resultptr
;
1795 resultptr
= new wxColour((wxColour
&) result
);
1796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1804 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1810 (char *) "self", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1824 wxColour
* resultptr
;
1825 resultptr
= new wxColour((wxColour
&) result
);
1826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1834 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1837 wxColour
*arg2
= 0 ;
1838 wxColour
*arg3
= 0 ;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1843 PyObject
* obj2
= 0 ;
1845 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1857 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
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_GetHighlightColourBg(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_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 wxColour
* resultptr
;
1924 resultptr
= new wxColour((wxColour
&) result
);
1925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1933 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1936 wxColour
*arg2
= 0 ;
1937 wxColour
*arg3
= 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1942 PyObject
* obj2
= 0 ;
1944 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1956 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1976 PyObject
* obj0
= 0 ;
1978 (char *) "self", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1992 wxColour
* resultptr
;
1993 resultptr
= new wxColour((wxColour
&) result
);
1994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2002 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2022 wxColour
* resultptr
;
2023 resultptr
= new wxColour((wxColour
&) result
);
2024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2032 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2036 wxCalendarDateAttr
*result
;
2037 PyObject
* obj0
= 0 ;
2038 PyObject
* obj1
= 0 ;
2040 (char *) "self",(char *) "day", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2062 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2066 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2069 PyObject
* obj2
= 0 ;
2071 (char *) "self",(char *) "day",(char *) "attr", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2079 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 (arg1
)->SetAttr(arg2
,arg3
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 Py_INCREF(Py_None
); resultobj
= Py_None
;
2095 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "day", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 (arg1
)->SetHoliday(arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2131 (char *) "self",(char *) "day", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2137 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 (arg1
)->ResetAttr(arg2
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 Py_INCREF(Py_None
); resultobj
= Py_None
;
2153 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "pos", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2186 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= wxPyMake_wxObject(result
);
2214 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2234 resultobj
= wxPyMake_wxObject(result
);
2242 static PyObject
*_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2245 wxVisualAttributes result
;
2246 PyObject
* obj0
= 0 ;
2248 (char *) "variant", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CalendarCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2253 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2257 if (!wxPyCheckForApp()) SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 result
= wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2265 wxVisualAttributes
* resultptr
;
2266 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2275 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2278 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2280 return Py_BuildValue((char *)"");
2282 static PyMethodDef SwigMethods
[] = {
2283 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2284 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2285 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2286 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2287 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2288 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2289 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2290 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2291 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2292 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2293 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2294 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2295 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2296 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2297 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2298 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2299 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2300 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2301 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2302 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2303 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2304 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2305 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2306 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2307 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2308 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2309 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2310 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2311 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2312 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2313 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2314 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2315 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2316 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2317 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2318 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2319 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2320 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2321 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2322 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2323 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2324 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2325 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2326 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2327 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2328 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2329 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2330 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2331 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2332 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2333 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2334 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2335 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2336 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2337 { (char *)"CalendarCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_CalendarCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
2338 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2343 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2345 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2348 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2351 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2354 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2357 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2360 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2363 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2366 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2369 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) ((wxSizer
*) x
));
2372 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2375 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2378 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2381 static void *_p_wxEventTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) ((wxEvent
*) x
));
2384 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2387 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2390 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2393 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2396 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2399 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2402 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2405 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2408 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2411 static void *_p_wxControlTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2414 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2417 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2420 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2423 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2426 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2429 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2432 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2435 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2438 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2441 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2444 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2447 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2450 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2456 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2459 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2462 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2465 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2468 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2471 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2474 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2477 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2480 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2483 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2486 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2489 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2492 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2495 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2498 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2501 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2504 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2507 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2508 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2510 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2511 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2513 static void *_p_wxImageTo_p_wxObject(void *x
) {
2514 return (void *)((wxObject
*) ((wxImage
*) x
));
2516 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2517 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2519 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2520 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2522 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2523 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2525 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2528 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2529 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2531 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2532 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2534 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2535 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2537 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2540 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2543 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2544 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2546 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2547 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2549 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2552 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2553 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2555 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2558 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2559 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2561 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2562 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2564 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2565 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2567 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2568 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2570 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2573 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2574 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2576 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2577 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2579 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2580 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2582 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2585 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2586 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2588 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2591 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2594 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2597 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2598 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2600 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2601 return (void *)((wxWindow
*) ((wxControl
*) x
));
2603 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2604 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2606 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2607 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2609 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2610 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2612 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2613 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2615 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2616 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2618 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2619 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2621 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2622 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2624 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2625 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2627 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2628 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2630 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2631 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2633 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2634 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2636 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2637 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2639 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2640 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2642 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2643 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2645 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2648 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2649 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2651 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2652 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2654 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2655 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2657 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2658 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2660 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2661 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2663 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2664 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2666 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2667 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2669 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2672 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2673 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2675 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2676 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2678 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2681 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2682 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2684 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2685 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2687 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2688 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2690 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2691 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2693 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2694 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2696 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2697 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2699 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2702 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2703 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2705 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2706 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2708 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2709 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2711 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2714 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2715 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2717 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2718 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2720 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2723 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2724 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2726 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2727 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2729 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2730 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2732 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2733 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2735 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2736 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2738 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2739 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2741 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2742 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2744 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2745 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2747 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2750 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2751 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2753 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2754 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2756 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2757 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2759 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2760 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2762 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2763 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2765 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2766 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2768 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2771 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2772 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2774 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2775 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2777 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2778 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2780 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2783 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2786 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2787 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2789 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2790 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2792 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2793 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2795 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2796 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2797 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2798 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2799 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2800 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2801 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2802 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2803 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2804 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2805 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2806 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2807 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2808 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2810 static swig_type_info
*swig_types_initial
[] = {
2813 _swigt__p_wxVisualAttributes
,
2814 _swigt__p_wxCalendarEvent
,
2815 _swigt__p_wxCalendarDateAttr
,
2817 _swigt__p_wxCommandEvent
,
2819 _swigt__p_wxEvtHandler
,
2821 _swigt__p_wxDateTime
,
2822 _swigt__p_wxControl
,
2823 _swigt__p_wxCalendarCtrl
,
2829 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2831 static swig_const_info swig_const_table
[] = {
2841 SWIGEXPORT(void) SWIG_init(void) {
2842 static PyObject
*SWIG_globals
= 0;
2843 static int typeinit
= 0;
2846 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2847 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2848 d
= PyModule_GetDict(m
);
2851 for (i
= 0; swig_types_initial
[i
]; i
++) {
2852 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2856 SWIG_InstallConstants(d
,swig_const_table
);
2858 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
));
2859 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
));
2860 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2861 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2862 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2863 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2864 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2865 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2866 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
));
2867 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
));
2868 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2869 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2870 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2871 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
));
2872 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
));
2873 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
));
2874 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2875 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2876 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2877 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2878 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2879 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2880 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2881 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);