1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxDateTime__WeekDay swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxObject swig_types[2]
236 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
237 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
238 #define SWIGTYPE_p_wxWindow swig_types[5]
239 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxString swig_types[8]
242 #define SWIGTYPE_p_wxEvtHandler swig_types[9]
243 #define SWIGTYPE_p_wxFont swig_types[10]
244 #define SWIGTYPE_p_wxDateTime swig_types[11]
245 #define SWIGTYPE_p_wxControl swig_types[12]
246 #define SWIGTYPE_p_wxCalendarCtrl swig_types[13]
247 #define SWIGTYPE_p_wxEvent swig_types[14]
248 static swig_type_info
*swig_types
[16];
250 /* -------- TYPES TABLE (END) -------- */
253 /*-----------------------------------------------
254 @(target):= _calendar.so
255 ------------------------------------------------*/
256 #define SWIG_init init_calendar
258 #define SWIG_name "_calendar"
266 #define SWIGSTATIC(a) static inline a
268 #define SWIGSTATIC(a) static a
274 #ifdef HAVE_NUMERIC_CAST
275 #define numeric_cast(type,a) numeric_cast<type>(a)
277 #define numeric_cast(type,a) static_cast<type>(a)
280 #define numeric_cast(type,a) (type)(a)
286 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
287 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
288 #define SWIG_PyObj_FromShort PyInt_FromLong
289 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
290 #define SWIG_PyObj_FromInt PyInt_FromLong
291 #define SWIG_PyObj_FromLong PyInt_FromLong
292 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
293 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
294 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
295 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
298 #include "wx/wxPython/wxPython.h"
299 #include "wx/wxPython/pyclasses.h"
301 #include <wx/calctrl.h>
305 SWIG_PyObj_AsInt(PyObject
*obj
)
307 return numeric_cast(int,
308 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
313 SWIG_PyObj_AsBool(PyObject
*obj
)
315 return PyObject_IsTrue(obj
) ? true : false;
319 SWIGSTATIC(PyObject
*)
320 SWIG_PyObj_FromBool(bool value
)
322 PyObject
*obj
= value
? Py_True
: Py_False
;
327 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
330 SWIG_PyObj_AsLong(PyObject
* obj
)
332 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
338 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 wxColour
const &arg2_defvalue
= wxNullColour
;
342 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
343 wxColour
const &arg3_defvalue
= wxNullColour
;
344 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
345 wxFont
const &arg4_defvalue
= wxNullFont
;
346 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
347 int arg5
= (int) wxCAL_BORDER_NONE
;
348 wxCalendarDateAttr
*result
;
352 PyObject
* obj0
= 0 ;
353 PyObject
* obj1
= 0 ;
354 PyObject
* obj2
= 0 ;
355 PyObject
* obj3
= 0 ;
356 PyObject
* obj4
= 0 ;
358 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
364 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
379 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
386 arg5
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj4
);
387 if (PyErr_Occurred()) SWIG_fail
;
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) SWIG_fail
;
397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
404 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 wxColour
const &arg2_defvalue
= wxNullColour
;
408 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
409 wxCalendarDateAttr
*result
;
411 PyObject
* obj0
= 0 ;
412 PyObject
* obj1
= 0 ;
414 (char *) "border",(char *) "colBorder", NULL
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_CalendarDateAttrBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
419 arg1
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj0
);
420 if (PyErr_Occurred()) SWIG_fail
;
425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
430 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
432 wxPyEndAllowThreads(__tstate
);
433 if (PyErr_Occurred()) SWIG_fail
;
435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
442 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
447 PyObject
* obj0
= 0 ;
448 PyObject
* obj1
= 0 ;
450 (char *) "self",(char *) "colText", NULL
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
461 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
463 wxPyEndAllowThreads(__tstate
);
464 if (PyErr_Occurred()) SWIG_fail
;
466 Py_INCREF(Py_None
); resultobj
= Py_None
;
473 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
478 PyObject
* obj0
= 0 ;
479 PyObject
* obj1
= 0 ;
481 (char *) "self",(char *) "colBack", NULL
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
492 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
494 wxPyEndAllowThreads(__tstate
);
495 if (PyErr_Occurred()) SWIG_fail
;
497 Py_INCREF(Py_None
); resultobj
= Py_None
;
504 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
509 PyObject
* obj0
= 0 ;
510 PyObject
* obj1
= 0 ;
512 (char *) "self",(char *) "col", NULL
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
523 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
525 wxPyEndAllowThreads(__tstate
);
526 if (PyErr_Occurred()) SWIG_fail
;
528 Py_INCREF(Py_None
); resultobj
= Py_None
;
535 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
539 PyObject
* obj0
= 0 ;
540 PyObject
* obj1
= 0 ;
542 (char *) "self",(char *) "font", NULL
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
553 (arg1
)->SetFont((wxFont
const &)*arg2
);
555 wxPyEndAllowThreads(__tstate
);
556 if (PyErr_Occurred()) SWIG_fail
;
558 Py_INCREF(Py_None
); resultobj
= Py_None
;
565 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
569 PyObject
* obj0
= 0 ;
570 PyObject
* obj1
= 0 ;
572 (char *) "self",(char *) "border", NULL
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
578 arg2
= (wxCalendarDateBorder
) SWIG_PyObj_AsInt(obj1
);
579 if (PyErr_Occurred()) SWIG_fail
;
582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
583 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
585 wxPyEndAllowThreads(__tstate
);
586 if (PyErr_Occurred()) SWIG_fail
;
588 Py_INCREF(Py_None
); resultobj
= Py_None
;
595 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
599 PyObject
* obj0
= 0 ;
600 PyObject
* obj1
= 0 ;
602 (char *) "self",(char *) "holiday", NULL
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
608 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
609 if (PyErr_Occurred()) SWIG_fail
;
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 (arg1
)->SetHoliday(arg2
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) SWIG_fail
;
618 Py_INCREF(Py_None
); resultobj
= Py_None
;
625 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
629 PyObject
* obj0
= 0 ;
631 (char *) "self", NULL
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
638 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
640 wxPyEndAllowThreads(__tstate
);
641 if (PyErr_Occurred()) SWIG_fail
;
643 resultobj
= SWIG_PyObj_FromBool((bool)result
);
650 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
654 PyObject
* obj0
= 0 ;
656 (char *) "self", NULL
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) SWIG_fail
;
668 resultobj
= SWIG_PyObj_FromBool((bool)result
);
675 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
679 PyObject
* obj0
= 0 ;
681 (char *) "self", NULL
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
688 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
690 wxPyEndAllowThreads(__tstate
);
691 if (PyErr_Occurred()) SWIG_fail
;
693 resultobj
= SWIG_PyObj_FromBool((bool)result
);
700 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
704 PyObject
* obj0
= 0 ;
706 (char *) "self", NULL
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
713 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
715 wxPyEndAllowThreads(__tstate
);
716 if (PyErr_Occurred()) SWIG_fail
;
718 resultobj
= SWIG_PyObj_FromBool((bool)result
);
725 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
729 PyObject
* obj0
= 0 ;
731 (char *) "self", NULL
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) SWIG_fail
;
743 resultobj
= SWIG_PyObj_FromBool((bool)result
);
750 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
754 PyObject
* obj0
= 0 ;
756 (char *) "self", NULL
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) SWIG_fail
;
768 resultobj
= SWIG_PyObj_FromBool((bool)result
);
775 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
779 PyObject
* obj0
= 0 ;
781 (char *) "self", NULL
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) SWIG_fail
;
794 wxColour
* resultptr
;
795 resultptr
= new wxColour((wxColour
&) result
);
796 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
804 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
808 PyObject
* obj0
= 0 ;
810 (char *) "self", NULL
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
819 wxPyEndAllowThreads(__tstate
);
820 if (PyErr_Occurred()) SWIG_fail
;
823 wxColour
* resultptr
;
824 resultptr
= new wxColour((wxColour
&) result
);
825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
833 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
837 PyObject
* obj0
= 0 ;
839 (char *) "self", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) SWIG_fail
;
852 wxColour
* resultptr
;
853 resultptr
= new wxColour((wxColour
&) result
);
854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
862 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
866 PyObject
* obj0
= 0 ;
868 (char *) "self", NULL
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) SWIG_fail
;
882 resultptr
= new wxFont((wxFont
&) result
);
883 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
891 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
895 PyObject
* obj0
= 0 ;
897 (char *) "self", NULL
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
904 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
906 wxPyEndAllowThreads(__tstate
);
907 if (PyErr_Occurred()) SWIG_fail
;
909 resultobj
= SWIG_PyObj_FromInt((int)result
);
916 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
919 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
921 return Py_BuildValue((char *)"");
923 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
927 wxCalendarEvent
*result
;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
931 (char *) "cal",(char *) "type", NULL
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
937 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
938 if (PyErr_Occurred()) SWIG_fail
;
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
942 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) SWIG_fail
;
947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
954 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
958 PyObject
* obj0
= 0 ;
960 (char *) "self", NULL
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) SWIG_fail
;
973 wxDateTime
* resultptr
;
974 resultptr
= new wxDateTime((wxDateTime
&) result
);
975 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
983 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
986 wxDateTime
*arg2
= 0 ;
987 PyObject
* obj0
= 0 ;
988 PyObject
* obj1
= 0 ;
990 (char *) "self",(char *) "date", NULL
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) SWIG_fail
;
1006 Py_INCREF(Py_None
); resultobj
= Py_None
;
1013 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
*resultobj
;
1015 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1017 PyObject
* obj0
= 0 ;
1018 PyObject
* obj1
= 0 ;
1020 (char *) "self",(char *) "wd", NULL
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1026 arg2
= (wxDateTime::WeekDay
const) SWIG_PyObj_AsInt(obj1
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1036 Py_INCREF(Py_None
); resultobj
= Py_None
;
1043 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1047 PyObject
* obj0
= 0 ;
1049 (char *) "self", NULL
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) SWIG_fail
;
1061 resultobj
= SWIG_PyObj_FromInt((int)result
);
1068 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1071 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1073 return Py_BuildValue((char *)"");
1075 static int _wrap_CalendarNameStr_set(PyObject
*) {
1076 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1081 static PyObject
*_wrap_CalendarNameStr_get() {
1086 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1088 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1095 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
*resultobj
;
1097 wxWindow
*arg1
= (wxWindow
*) 0 ;
1099 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1100 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1105 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1106 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1107 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1108 wxCalendarCtrl
*result
;
1111 bool temp7
= False
;
1112 PyObject
* obj0
= 0 ;
1113 PyObject
* obj1
= 0 ;
1114 PyObject
* obj2
= 0 ;
1115 PyObject
* obj3
= 0 ;
1116 PyObject
* obj4
= 0 ;
1117 PyObject
* obj5
= 0 ;
1118 PyObject
* obj6
= 0 ;
1120 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1130 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1132 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1149 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1155 arg7
= wxString_in_helper(obj6
);
1156 if (arg7
== NULL
) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1182 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxCalendarCtrl
*result
;
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1192 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1194 wxPyEndAllowThreads(__tstate
);
1195 if (PyErr_Occurred()) SWIG_fail
;
1197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1204 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
*resultobj
;
1206 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1207 wxWindow
*arg2
= (wxWindow
*) 0 ;
1209 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1210 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1211 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1212 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1213 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1214 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1215 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1216 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1217 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1221 bool temp8
= False
;
1222 PyObject
* obj0
= 0 ;
1223 PyObject
* obj1
= 0 ;
1224 PyObject
* obj2
= 0 ;
1225 PyObject
* obj3
= 0 ;
1226 PyObject
* obj4
= 0 ;
1227 PyObject
* obj5
= 0 ;
1228 PyObject
* obj6
= 0 ;
1229 PyObject
* obj7
= 0 ;
1231 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1238 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1242 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1250 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1256 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1261 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1267 arg8
= wxString_in_helper(obj7
);
1268 if (arg8
== NULL
) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1279 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1294 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1296 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1297 wxDateTime
*arg2
= 0 ;
1298 PyObject
* obj0
= 0 ;
1299 PyObject
* obj1
= 0 ;
1301 (char *) "self",(char *) "date", NULL
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1317 Py_INCREF(Py_None
); resultobj
= Py_None
;
1324 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1339 result
= (wxDateTime
*) &_result_ref
;
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1352 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1355 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1356 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1358 PyObject
* obj0
= 0 ;
1359 PyObject
* obj1
= 0 ;
1361 (char *) "self",(char *) "date", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1386 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1401 result
= (wxDateTime
*) &_result_ref
;
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1414 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1417 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1418 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1420 PyObject
* obj0
= 0 ;
1421 PyObject
* obj1
= 0 ;
1423 (char *) "self",(char *) "date", NULL
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1441 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1448 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "self", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1463 result
= (wxDateTime
*) &_result_ref
;
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1476 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1479 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1480 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1481 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1482 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1484 PyObject
* obj0
= 0 ;
1485 PyObject
* obj1
= 0 ;
1486 PyObject
* obj2
= 0 ;
1488 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1500 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1519 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1521 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1522 bool arg2
= (bool) True
;
1523 PyObject
* obj0
= 0 ;
1524 PyObject
* obj1
= 0 ;
1526 (char *) "self",(char *) "enable", NULL
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1533 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 (arg1
)->EnableYearChange(arg2
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 Py_INCREF(Py_None
); resultobj
= Py_None
;
1551 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1554 bool arg2
= (bool) True
;
1555 PyObject
* obj0
= 0 ;
1556 PyObject
* obj1
= 0 ;
1558 (char *) "self",(char *) "enable", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 (arg1
)->EnableMonthChange(arg2
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 Py_INCREF(Py_None
); resultobj
= Py_None
;
1583 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1586 bool arg2
= (bool) True
;
1587 PyObject
* obj0
= 0 ;
1588 PyObject
* obj1
= 0 ;
1590 (char *) "self",(char *) "display", NULL
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1597 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 (arg1
)->EnableHolidayDisplay(arg2
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 Py_INCREF(Py_None
); resultobj
= Py_None
;
1615 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1618 wxColour
*arg2
= 0 ;
1619 wxColour
*arg3
= 0 ;
1622 PyObject
* obj0
= 0 ;
1623 PyObject
* obj1
= 0 ;
1624 PyObject
* obj2
= 0 ;
1626 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1637 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 Py_INCREF(Py_None
); resultobj
= Py_None
;
1653 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
*resultobj
;
1655 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1659 (char *) "self", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 wxColour
* resultptr
;
1673 resultptr
= new wxColour((wxColour
&) result
);
1674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1682 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 wxColour
* resultptr
;
1702 resultptr
= new wxColour((wxColour
&) result
);
1703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1711 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1714 wxColour
*arg2
= 0 ;
1715 wxColour
*arg3
= 0 ;
1718 PyObject
* obj0
= 0 ;
1719 PyObject
* obj1
= 0 ;
1720 PyObject
* obj2
= 0 ;
1722 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1733 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 Py_INCREF(Py_None
); resultobj
= Py_None
;
1749 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1753 PyObject
* obj0
= 0 ;
1755 (char *) "self", NULL
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1768 wxColour
* resultptr
;
1769 resultptr
= new wxColour((wxColour
&) result
);
1770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1778 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "self", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxColour
* resultptr
;
1798 resultptr
= new wxColour((wxColour
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1807 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1810 wxColour
*arg2
= 0 ;
1811 wxColour
*arg3
= 0 ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1816 PyObject
* obj2
= 0 ;
1818 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1829 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1864 wxColour
* resultptr
;
1865 resultptr
= new wxColour((wxColour
&) result
);
1866 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1874 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
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_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1907 wxCalendarDateAttr
*result
;
1908 PyObject
* obj0
= 0 ;
1909 PyObject
* obj1
= 0 ;
1911 (char *) "self",(char *) "day", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1917 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1934 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1938 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1940 PyObject
* obj1
= 0 ;
1941 PyObject
* obj2
= 0 ;
1943 (char *) "self",(char *) "day",(char *) "attr", NULL
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1949 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 (arg1
)->SetAttr(arg2
,arg3
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 Py_INCREF(Py_None
); resultobj
= Py_None
;
1967 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1974 (char *) "self",(char *) "day", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1980 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 (arg1
)->SetHoliday(arg2
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2001 PyObject
* obj0
= 0 ;
2002 PyObject
* obj1
= 0 ;
2004 (char *) "self",(char *) "day", NULL
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2010 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->ResetAttr(arg2
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2031 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
2032 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2037 PyObject
* obj2
= 0 ;
2038 PyObject
* obj3
= 0 ;
2040 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2050 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2053 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= SWIG_PyObj_FromInt((int)result
);
2069 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2072 bool arg2
= (bool) True
;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "enable", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2084 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 result
= (bool)(arg1
)->Enable(arg2
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2102 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
*resultobj
;
2104 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2105 bool arg2
= (bool) True
;
2107 PyObject
* obj0
= 0 ;
2108 PyObject
* obj1
= 0 ;
2110 (char *) "self",(char *) "show", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2117 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 result
= (bool)(arg1
)->Show(arg2
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2135 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2141 (char *) "self", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2154 resultobj
= wxPyMake_wxObject(result
);
2162 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= wxPyMake_wxObject(result
);
2189 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2192 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2194 return Py_BuildValue((char *)"");
2196 static PyMethodDef SwigMethods
[] = {
2197 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2198 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
2199 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2200 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2201 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2202 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2203 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2204 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2205 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2206 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2207 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2208 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2209 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2210 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2211 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2212 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2213 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2214 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2215 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2216 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2217 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2218 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2219 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2220 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2221 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2222 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2223 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2224 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2225 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2226 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2227 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2228 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2229 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2230 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2231 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2232 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2233 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2234 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2235 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2236 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2237 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2238 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2239 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2240 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2241 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2242 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2243 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2244 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2245 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2246 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2247 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2248 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2249 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2250 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2251 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
2252 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2253 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2254 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2261 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2262 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2264 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2267 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2268 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2270 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2271 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2273 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2276 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2277 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2279 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2280 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2282 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2283 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2285 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2286 return (void *)((wxObject
*) ((wxSizer
*) x
));
2288 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2289 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2291 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2292 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2294 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2297 static void *_p_wxEventTo_p_wxObject(void *x
) {
2298 return (void *)((wxObject
*) ((wxEvent
*) x
));
2300 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2301 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2303 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2304 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2306 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2307 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2309 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2310 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2312 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2313 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2315 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2316 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2318 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2319 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2321 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2322 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2324 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2325 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2327 static void *_p_wxControlTo_p_wxObject(void *x
) {
2328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2331 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2333 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2334 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2336 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2339 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2340 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2342 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2343 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2345 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2348 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2351 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2354 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2357 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2360 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2363 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2366 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2369 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2372 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2375 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2378 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2381 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2384 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2387 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2390 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2393 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2396 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2399 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2402 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2405 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2408 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2411 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2414 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2417 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2420 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2423 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2429 static void *_p_wxImageTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) ((wxImage
*) x
));
2432 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2435 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2438 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2441 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2444 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2447 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2450 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2453 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2456 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2459 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2462 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2465 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2468 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2471 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2474 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2477 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2480 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2483 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2486 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2489 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2492 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2495 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2498 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2501 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2504 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2507 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2510 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2511 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2513 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2514 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2516 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2517 return (void *)((wxWindow
*) ((wxControl
*) x
));
2519 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2520 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2522 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2523 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2525 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2526 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2528 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2529 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2531 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2532 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2534 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2535 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2537 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2538 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2540 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2541 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2543 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2544 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2546 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2547 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2549 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2550 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2552 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2553 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2555 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2558 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2559 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2561 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2564 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2565 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2567 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2568 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2570 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2571 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2573 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2574 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2576 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2577 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2579 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2580 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2582 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2583 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2585 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2588 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2589 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2591 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2592 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2594 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2597 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2598 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2600 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2601 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2603 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2604 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2606 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2607 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2609 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2610 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2612 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2613 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2615 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2616 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2618 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2619 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2621 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2624 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2625 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2627 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2628 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2630 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2631 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2633 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2634 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2636 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2639 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2640 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2642 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2643 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2645 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2646 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2648 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2649 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2651 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2652 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2654 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2655 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2657 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2658 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2660 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2661 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2663 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2666 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2667 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2669 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2670 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2672 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2673 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2675 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2676 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2678 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2681 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2682 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2684 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2687 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2688 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2690 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2691 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2693 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2694 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2696 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2699 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2700 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2702 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2703 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2705 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2706 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2708 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2709 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2711 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2712 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2713 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
2714 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2715 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2716 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
},{0}};
2717 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
2718 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
2719 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2720 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
},{0}};
2721 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2722 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2723 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
},{0}};
2724 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2725 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
2727 static swig_type_info
*swig_types_initial
[] = {
2728 _swigt__p_wxDateTime__WeekDay
,
2731 _swigt__p_wxCalendarEvent
,
2732 _swigt__p_wxCalendarDateAttr
,
2734 _swigt__p_wxCommandEvent
,
2737 _swigt__p_wxEvtHandler
,
2739 _swigt__p_wxDateTime
,
2740 _swigt__p_wxControl
,
2741 _swigt__p_wxCalendarCtrl
,
2747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2749 static swig_const_info swig_const_table
[] = {
2759 SWIGEXPORT(void) SWIG_init(void) {
2760 static PyObject
*SWIG_globals
= 0;
2761 static int typeinit
= 0;
2764 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2765 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2766 d
= PyModule_GetDict(m
);
2769 for (i
= 0; swig_types_initial
[i
]; i
++) {
2770 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2774 SWIG_InstallConstants(d
,swig_const_table
);
2776 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_SUNDAY_FIRST
));
2777 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_PyObj_FromInt((int)wxCAL_MONDAY_FIRST
));
2778 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2779 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2780 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_PyObj_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2781 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_PyObj_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2782 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_PyObj_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2783 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2784 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_HEADER
));
2785 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DAY
));
2786 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2787 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2788 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_PyObj_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2789 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_NONE
));
2790 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_PyObj_FromInt((int)wxCAL_BORDER_SQUARE
));
2791 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_PyObj_FromInt((int)wxCAL_BORDER_ROUND
));
2792 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2793 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2794 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2795 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2796 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2797 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2798 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2799 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);