1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxControl swig_types[0]
210 #define SWIGTYPE_p_wxDateTime swig_types[1]
211 #define SWIGTYPE_p_wxWindow swig_types[2]
212 #define SWIGTYPE_p_wxFont swig_types[3]
213 #define SWIGTYPE_p_wxEvent swig_types[4]
214 #define SWIGTYPE_p_wxObject swig_types[5]
215 #define SWIGTYPE_p_wxEvtHandler swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[8]
218 #define SWIGTYPE_p_wxColour swig_types[9]
219 #define SWIGTYPE_p_wxCalendarEvent swig_types[10]
220 #define SWIGTYPE_p_wxCommandEvent swig_types[11]
221 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
222 static swig_type_info
*swig_types
[14];
224 /* -------- TYPES TABLE (END) -------- */
227 /*-----------------------------------------------
228 @(target):= _calendar.so
229 ------------------------------------------------*/
230 #define SWIG_init init_calendar
232 #define SWIG_name "_calendar"
234 /* Auxiliar swig macros */
237 #define SWIGSTATICINLINE(a) static inline a
238 #define SWIGSTATIC(a) static a
239 #define swig_new_array(type, size) (new type[(size)])
240 #define swig_delete_array(cptr) delete[] cptr
241 #define swig_const_cast(type,a) const_cast<type>(a)
242 #define swig_static_cast(type,a) static_cast<type>(a)
243 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
245 #ifdef HAVE_NUMERIC_CAST
246 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
248 #define swig_numeric_cast(type,a) static_cast<type>(a)
253 #define SWIGSTATICINLINE(a) static a
254 #define SWIGSTATIC(a) static a
255 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
256 #define swig_delete_array(cptr) free((char*)cptr)
257 #define swig_const_cast(type,a) (type)(a)
258 #define swig_static_cast(type,a) (type)(a)
259 #define swig_reinterpret_cast(type,a) (type)(a)
260 #define swig_numeric_cast(type,a) (type)(a)
262 #endif /* __cplusplus */
265 #define SWIG_FromSignedChar PyInt_FromLong
266 #define SWIG_FromUnsignedChar PyInt_FromLong
267 #define SWIG_FromShort PyInt_FromLong
268 #define SWIG_FromUnsignedShort PyInt_FromLong
269 #define SWIG_FromInt PyInt_FromLong
270 #define SWIG_FromLong PyInt_FromLong
271 #define SWIG_FromFloat PyFloat_FromDouble
272 #define SWIG_FromDouble PyFloat_FromDouble
273 #define SWIG_FromFloat PyFloat_FromDouble
274 #define SWIG_FromDouble PyFloat_FromDouble
277 #include "wx/wxPython/wxPython.h"
278 #include "wx/wxPython/pyclasses.h"
280 #include <wx/calctrl.h>
286 SWIGSTATICINLINE(long)
287 SWIG_CheckLongInRange(long value
, const char* type
,
288 long min_value
, long max_value
)
290 if (!PyErr_Occurred()) {
291 if (value
< min_value
) {
293 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
294 value
, type
, min_value
);
296 PyErr_SetObject(PyExc_OverflowError
, err
);
298 } else if (value
> max_value
) {
300 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
301 value
, type
, max_value
);
302 PyErr_SetObject(PyExc_OverflowError
, err
);
310 SWIGSTATICINLINE(long)
311 SWIG_AsLong(PyObject
* obj
)
313 if (PyNumber_Check(obj
))
314 return PyInt_AsLong(obj
);
316 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
317 obj
->ob_type
->tp_name
);
318 PyErr_SetObject(PyExc_TypeError
, errmsg
);
325 #if INT_MAX != LONG_MAX
326 SWIGSTATICINLINE(int)
327 SWIG_AsInt(PyObject
*obj
)
329 return swig_numeric_cast(int,
330 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
331 "int", INT_MIN
, INT_MAX
));
334 #define SWIG_AsInt SWIG_AsLong
338 SWIGSTATICINLINE(int)
339 SWIG_CheckInt(PyObject
* obj
)
342 if (PyErr_Occurred()) {
351 SWIGSTATICINLINE(bool)
352 SWIG_AsBool(PyObject
*obj
)
354 return PyObject_IsTrue(obj
) ? true : false;
358 SWIGSTATICINLINE(int)
359 SWIG_CheckBool(PyObject
* obj
)
362 if (PyErr_Occurred()) {
370 static const wxString
wxPyCalendarNameStr(wxCalendarNameStr
);
372 SWIGSTATICINLINE(int)
373 SWIG_CheckLong(PyObject
* obj
)
376 if (PyErr_Occurred()) {
385 SWIGSTATICINLINE(unsigned long)
386 SWIG_AsUnsignedLong(PyObject
* obj
)
388 if (PyLong_Check(obj
)) {
389 return PyLong_AsUnsignedLong(obj
);
391 long i
= SWIG_AsLong(obj
);
392 if ( !PyErr_Occurred() && (i
< 0)) {
393 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
400 SWIGSTATICINLINE(int)
401 SWIG_CheckUnsignedLong(PyObject
* obj
)
403 SWIG_AsUnsignedLong(obj
);
404 if (PyErr_Occurred()) {
412 PyObject
*wxCalendarCtrl_HitTest(wxCalendarCtrl
*self
,wxPoint
const &pos
){
413 wxDateTime
* date
= new wxDateTime
;
414 wxDateTime::WeekDay wd
;
415 wxCalendarHitTestResult result
= self
->HitTest(pos
, date
, &wd
);
416 bool blocked
= wxPyBeginBlockThreads();
417 PyObject
* tup
= PyTuple_New(3);
418 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
));
419 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1));
420 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
));
421 wxPyEndBlockThreads(blocked
);
427 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 wxColour
const &arg1_defvalue
= wxNullColour
;
430 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
431 wxColour
const &arg2_defvalue
= wxNullColour
;
432 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
433 wxColour
const &arg3_defvalue
= wxNullColour
;
434 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
435 wxFont
const &arg4_defvalue
= wxNullFont
;
436 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
437 int arg5
= (int) wxCAL_BORDER_NONE
;
438 wxCalendarDateAttr
*result
;
442 PyObject
* obj0
= 0 ;
443 PyObject
* obj1
= 0 ;
444 PyObject
* obj2
= 0 ;
445 PyObject
* obj3
= 0 ;
446 PyObject
* obj4
= 0 ;
448 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
455 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
471 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
475 PyErr_SetString(PyExc_TypeError
,"null reference");
480 arg5
= (wxCalendarDateBorder
) SWIG_AsInt(obj4
);
481 if (PyErr_Occurred()) SWIG_fail
;
484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
485 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
487 wxPyEndAllowThreads(__tstate
);
488 if (PyErr_Occurred()) SWIG_fail
;
490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1);
497 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
502 PyObject
* obj0
= 0 ;
503 PyObject
* obj1
= 0 ;
505 (char *) "self",(char *) "colText", NULL
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
519 wxPyEndAllowThreads(__tstate
);
520 if (PyErr_Occurred()) SWIG_fail
;
522 Py_INCREF(Py_None
); resultobj
= Py_None
;
529 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
534 PyObject
* obj0
= 0 ;
535 PyObject
* obj1
= 0 ;
537 (char *) "self",(char *) "colBack", NULL
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
549 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
551 wxPyEndAllowThreads(__tstate
);
552 if (PyErr_Occurred()) SWIG_fail
;
554 Py_INCREF(Py_None
); resultobj
= Py_None
;
561 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
566 PyObject
* obj0
= 0 ;
567 PyObject
* obj1
= 0 ;
569 (char *) "self",(char *) "col", NULL
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
581 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
583 wxPyEndAllowThreads(__tstate
);
584 if (PyErr_Occurred()) SWIG_fail
;
586 Py_INCREF(Py_None
); resultobj
= Py_None
;
593 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
597 PyObject
* obj0
= 0 ;
598 PyObject
* obj1
= 0 ;
600 (char *) "self",(char *) "font", NULL
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
610 PyErr_SetString(PyExc_TypeError
,"null reference");
614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
615 (arg1
)->SetFont((wxFont
const &)*arg2
);
617 wxPyEndAllowThreads(__tstate
);
618 if (PyErr_Occurred()) SWIG_fail
;
620 Py_INCREF(Py_None
); resultobj
= Py_None
;
627 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
631 PyObject
* obj0
= 0 ;
632 PyObject
* obj1
= 0 ;
634 (char *) "self",(char *) "border", NULL
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
640 arg2
= (wxCalendarDateBorder
) SWIG_AsInt(obj1
);
641 if (PyErr_Occurred()) SWIG_fail
;
643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
644 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
646 wxPyEndAllowThreads(__tstate
);
647 if (PyErr_Occurred()) SWIG_fail
;
649 Py_INCREF(Py_None
); resultobj
= Py_None
;
656 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
660 PyObject
* obj0
= 0 ;
661 PyObject
* obj1
= 0 ;
663 (char *) "self",(char *) "holiday", NULL
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
669 arg2
= (bool) SWIG_AsBool(obj1
);
670 if (PyErr_Occurred()) SWIG_fail
;
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 (arg1
)->SetHoliday(arg2
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) SWIG_fail
;
678 Py_INCREF(Py_None
); resultobj
= Py_None
;
685 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
687 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
689 PyObject
* obj0
= 0 ;
691 (char *) "self", NULL
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
699 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
701 wxPyEndAllowThreads(__tstate
);
702 if (PyErr_Occurred()) SWIG_fail
;
705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
713 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
717 PyObject
* obj0
= 0 ;
719 (char *) "self", NULL
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) SWIG_fail
;
733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
741 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
745 PyObject
* obj0
= 0 ;
747 (char *) "self", NULL
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
755 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
757 wxPyEndAllowThreads(__tstate
);
758 if (PyErr_Occurred()) SWIG_fail
;
761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
769 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
773 PyObject
* obj0
= 0 ;
775 (char *) "self", NULL
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) SWIG_fail
;
789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
797 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
801 PyObject
* obj0
= 0 ;
803 (char *) "self", NULL
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) SWIG_fail
;
817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
825 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
829 PyObject
* obj0
= 0 ;
831 (char *) "self", NULL
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) SWIG_fail
;
845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
853 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
857 PyObject
* obj0
= 0 ;
859 (char *) "self", NULL
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
869 wxPyEndAllowThreads(__tstate
);
870 if (PyErr_Occurred()) SWIG_fail
;
873 wxColour
* resultptr
;
874 resultptr
= new wxColour((wxColour
&) result
);
875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
883 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
887 PyObject
* obj0
= 0 ;
889 (char *) "self", NULL
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) SWIG_fail
;
903 wxColour
* resultptr
;
904 resultptr
= new wxColour((wxColour
&) result
);
905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
913 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
917 PyObject
* obj0
= 0 ;
919 (char *) "self", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
927 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) SWIG_fail
;
933 wxColour
* resultptr
;
934 resultptr
= new wxColour((wxColour
&) result
);
935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
943 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
947 PyObject
* obj0
= 0 ;
949 (char *) "self", NULL
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
964 resultptr
= new wxFont((wxFont
&) result
);
965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
973 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
975 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
977 PyObject
* obj0
= 0 ;
979 (char *) "self", NULL
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
,
984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) SWIG_fail
;
992 resultobj
= SWIG_FromInt((int)result
);
999 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
1001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1002 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
1004 return Py_BuildValue((char *)"");
1006 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
*resultobj
;
1008 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1010 wxCalendarEvent
*result
;
1011 PyObject
* obj0
= 0 ;
1012 PyObject
* obj1
= 0 ;
1014 (char *) "cal",(char *) "type", NULL
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1020 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1);
1036 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
*resultobj
;
1038 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1040 PyObject
* obj0
= 0 ;
1042 (char *) "self", NULL
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
1046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 result
= ((wxCalendarEvent
const *)arg1
)->GetDate();
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) SWIG_fail
;
1056 wxDateTime
* resultptr
;
1057 resultptr
= new wxDateTime((wxDateTime
&) result
);
1058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
1066 static PyObject
*_wrap_CalendarEvent_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
*resultobj
;
1068 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1069 wxDateTime
*arg2
= 0 ;
1070 PyObject
* obj0
= 0 ;
1071 PyObject
* obj1
= 0 ;
1073 (char *) "self",(char *) "date", NULL
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1083 PyErr_SetString(PyExc_TypeError
,"null reference");
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) SWIG_fail
;
1093 Py_INCREF(Py_None
); resultobj
= Py_None
;
1100 static PyObject
*_wrap_CalendarEvent_SetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
*resultobj
;
1102 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1104 PyObject
* obj0
= 0 ;
1105 PyObject
* obj1
= 0 ;
1107 (char *) "self",(char *) "wd", NULL
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
1111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1113 arg2
= (wxDateTime::WeekDay
const) SWIG_AsInt(obj1
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1117 (arg1
)->SetWeekDay((wxDateTime::WeekDay
)arg2
);
1119 wxPyEndAllowThreads(__tstate
);
1120 if (PyErr_Occurred()) SWIG_fail
;
1122 Py_INCREF(Py_None
); resultobj
= Py_None
;
1129 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
*resultobj
;
1131 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
1133 PyObject
* obj0
= 0 ;
1135 (char *) "self", NULL
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
1139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
,
1140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1148 resultobj
= SWIG_FromInt((int)result
);
1155 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
1157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1158 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
1160 return Py_BuildValue((char *)"");
1162 static int _wrap_CalendarNameStr_set(PyObject
*_val
) {
1163 PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only.");
1168 static PyObject
*_wrap_CalendarNameStr_get() {
1173 pyobj
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1175 pyobj
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len());
1182 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
*resultobj
;
1184 wxWindow
*arg1
= (wxWindow
*) 0 ;
1186 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1187 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1192 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1193 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
1194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1195 wxCalendarCtrl
*result
;
1198 bool temp7
= False
;
1199 PyObject
* obj0
= 0 ;
1200 PyObject
* obj1
= 0 ;
1201 PyObject
* obj2
= 0 ;
1202 PyObject
* obj3
= 0 ;
1203 PyObject
* obj4
= 0 ;
1204 PyObject
* obj5
= 0 ;
1205 PyObject
* obj6
= 0 ;
1207 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1213 arg2
= (int) SWIG_AsInt(obj1
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1216 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1220 PyErr_SetString(PyExc_TypeError
,"null reference");
1227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1237 arg6
= (long) SWIG_AsLong(obj5
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1242 arg7
= wxString_in_helper(obj6
);
1243 if (arg7
== NULL
) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1269 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxCalendarCtrl
*result
;
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1);
1291 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1293 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1294 wxWindow
*arg2
= (wxWindow
*) 0 ;
1296 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1297 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1298 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1299 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1300 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1301 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1302 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1303 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1304 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1308 bool temp8
= False
;
1309 PyObject
* obj0
= 0 ;
1310 PyObject
* obj1
= 0 ;
1311 PyObject
* obj2
= 0 ;
1312 PyObject
* obj3
= 0 ;
1313 PyObject
* obj4
= 0 ;
1314 PyObject
* obj5
= 0 ;
1315 PyObject
* obj6
= 0 ;
1316 PyObject
* obj7
= 0 ;
1318 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1326 arg3
= (int) SWIG_AsInt(obj2
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
1330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1333 PyErr_SetString(PyExc_TypeError
,"null reference");
1340 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1346 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1350 arg7
= (long) SWIG_AsLong(obj6
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1355 arg8
= wxString_in_helper(obj7
);
1356 if (arg8
== NULL
) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1384 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1387 wxDateTime
*arg2
= 0 ;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1391 (char *) "self",(char *) "date", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1401 PyErr_SetString(PyExc_TypeError
,"null reference");
1405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1406 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1408 wxPyEndAllowThreads(__tstate
);
1409 if (PyErr_Occurred()) SWIG_fail
;
1411 Py_INCREF(Py_None
); resultobj
= Py_None
;
1418 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1422 PyObject
* obj0
= 0 ;
1424 (char *) "self", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1434 result
= (wxDateTime
*) &_result_ref
;
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1447 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1450 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1451 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1453 PyObject
* obj0
= 0 ;
1454 PyObject
* obj1
= 0 ;
1456 (char *) "self",(char *) "date", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1467 PyErr_SetString(PyExc_TypeError
,"null reference");
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1487 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1490 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1491 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1493 PyObject
* obj0
= 0 ;
1494 PyObject
* obj1
= 0 ;
1496 (char *) "self",(char *) "date", NULL
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1507 PyErr_SetString(PyExc_TypeError
,"null reference");
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1527 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1529 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1531 PyObject
* obj0
= 0 ;
1533 (char *) "self", NULL
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1543 result
= (wxDateTime
*) &_result_ref
;
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1556 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1572 result
= (wxDateTime
*) &_result_ref
;
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
1585 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1588 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1589 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1590 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1591 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1593 PyObject
* obj0
= 0 ;
1594 PyObject
* obj1
= 0 ;
1595 PyObject
* obj2
= 0 ;
1597 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
1605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1608 PyErr_SetString(PyExc_TypeError
,"null reference");
1613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1617 PyErr_SetString(PyExc_TypeError
,"null reference");
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1637 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1640 bool arg2
= (bool) True
;
1641 PyObject
* obj0
= 0 ;
1642 PyObject
* obj1
= 0 ;
1644 (char *) "self",(char *) "enable", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 arg2
= (bool) SWIG_AsBool(obj1
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 (arg1
)->EnableYearChange(arg2
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 Py_INCREF(Py_None
); resultobj
= Py_None
;
1668 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1671 bool arg2
= (bool) True
;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1675 (char *) "self",(char *) "enable", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 arg2
= (bool) SWIG_AsBool(obj1
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 (arg1
)->EnableMonthChange(arg2
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) SWIG_fail
;
1692 Py_INCREF(Py_None
); resultobj
= Py_None
;
1699 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1702 bool arg2
= (bool) True
;
1703 PyObject
* obj0
= 0 ;
1704 PyObject
* obj1
= 0 ;
1706 (char *) "self",(char *) "display", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1713 arg2
= (bool) SWIG_AsBool(obj1
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 (arg1
)->EnableHolidayDisplay(arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1733 wxColour
*arg2
= 0 ;
1734 wxColour
*arg3
= 0 ;
1737 PyObject
* obj0
= 0 ;
1738 PyObject
* obj1
= 0 ;
1739 PyObject
* obj2
= 0 ;
1741 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 Py_INCREF(Py_None
); resultobj
= Py_None
;
1769 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1771 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "self", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1789 wxColour
* resultptr
;
1790 resultptr
= new wxColour((wxColour
&) result
);
1791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1799 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1805 (char *) "self", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1819 wxColour
* resultptr
;
1820 resultptr
= new wxColour((wxColour
&) result
);
1821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1829 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
*resultobj
;
1831 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1832 wxColour
*arg2
= 0 ;
1833 wxColour
*arg3
= 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1838 PyObject
* obj2
= 0 ;
1840 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1852 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1874 (char *) "self", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1888 wxColour
* resultptr
;
1889 resultptr
= new wxColour((wxColour
&) result
);
1890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1898 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1918 wxColour
* resultptr
;
1919 resultptr
= new wxColour((wxColour
&) result
);
1920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1928 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1931 wxColour
*arg2
= 0 ;
1932 wxColour
*arg3
= 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1937 PyObject
* obj2
= 0 ;
1939 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1951 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 Py_INCREF(Py_None
); resultobj
= Py_None
;
1967 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "self", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) SWIG_fail
;
1987 wxColour
* resultptr
;
1988 resultptr
= new wxColour((wxColour
&) result
);
1989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1997 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2001 PyObject
* obj0
= 0 ;
2003 (char *) "self", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2017 wxColour
* resultptr
;
2018 resultptr
= new wxColour((wxColour
&) result
);
2019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2027 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2031 wxCalendarDateAttr
*result
;
2032 PyObject
* obj0
= 0 ;
2033 PyObject
* obj1
= 0 ;
2035 (char *) "self",(char *) "day", NULL
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0);
2057 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2061 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2063 PyObject
* obj1
= 0 ;
2064 PyObject
* obj2
= 0 ;
2066 (char *) "self",(char *) "day",(char *) "attr", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2074 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 (arg1
)->SetAttr(arg2
,arg3
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 Py_INCREF(Py_None
); resultobj
= Py_None
;
2090 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "self",(char *) "day", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 (arg1
)->SetHoliday(arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 Py_INCREF(Py_None
); resultobj
= Py_None
;
2119 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2124 PyObject
* obj1
= 0 ;
2126 (char *) "self",(char *) "day", NULL
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 (arg1
)->ResetAttr(arg2
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "self",(char *) "pos", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (PyObject
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint
const &)*arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2181 static PyObject
*_wrap_CalendarCtrl_GetMonthControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2187 (char *) "self", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetMonthControl();
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= wxPyMake_wxObject(result
);
2209 static PyObject
*_wrap_CalendarCtrl_GetYearControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (wxControl
*)((wxCalendarCtrl
const *)arg1
)->GetYearControl();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2229 resultobj
= wxPyMake_wxObject(result
);
2237 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
2239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2240 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
2242 return Py_BuildValue((char *)"");
2244 static PyMethodDef SwigMethods
[] = {
2245 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
2246 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2247 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2248 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2249 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
2250 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2251 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2252 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2253 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2254 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2255 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
2256 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
2257 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2258 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
2259 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
2260 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
2261 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
2262 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
2263 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
2264 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
2265 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2266 { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2267 { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2268 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
2269 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
2270 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2271 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
2272 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
2273 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
2274 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
2275 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2276 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2277 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2278 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
2279 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
2280 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
2281 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
2282 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2283 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
2284 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2285 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2286 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
2287 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2288 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2289 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
2290 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
2291 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
2292 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2293 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2294 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
2295 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
2296 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
2297 { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS
| METH_KEYWORDS
},
2298 { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS
| METH_KEYWORDS
},
2299 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
2304 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2306 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2307 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2309 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
2310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2312 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2313 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2315 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2316 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2318 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2321 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2322 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2324 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2325 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2327 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2328 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2330 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2331 return (void *)((wxObject
*) ((wxSizer
*) x
));
2333 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2334 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2336 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2337 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2339 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2342 static void *_p_wxEventTo_p_wxObject(void *x
) {
2343 return (void *)((wxObject
*) ((wxEvent
*) x
));
2345 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2348 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2351 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2354 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2357 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2360 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2363 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2366 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2369 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2372 static void *_p_wxControlTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2375 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2378 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2381 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2384 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2387 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2390 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2393 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2396 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2399 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2402 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2405 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2408 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2411 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2414 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2417 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2420 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2423 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2426 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2429 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2432 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2435 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2438 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2441 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2444 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2447 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2450 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2453 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2456 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2459 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2462 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2465 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2468 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2471 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2474 static void *_p_wxImageTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) ((wxImage
*) x
));
2477 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2480 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2483 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2486 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2489 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2492 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2495 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2498 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2501 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2504 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2507 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2508 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2510 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2513 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2514 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2516 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2517 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2519 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2520 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2522 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2523 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2525 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2526 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2528 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2529 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2531 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2534 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2535 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2537 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2538 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2540 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2541 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2543 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2546 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2547 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2549 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2552 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2555 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2558 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2561 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2562 return (void *)((wxWindow
*) ((wxControl
*) x
));
2564 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2565 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2567 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2568 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2570 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2571 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2573 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2574 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2576 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2577 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2579 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2580 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2582 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2583 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2585 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2586 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2588 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2589 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2591 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2592 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2594 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2595 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2597 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2598 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2600 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2601 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2603 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2604 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2606 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2609 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2610 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2612 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2613 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2615 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2616 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2618 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2619 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2621 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2622 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2624 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2625 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2627 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2628 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2630 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2633 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2634 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2636 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2637 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2639 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2642 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2643 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2645 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2646 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2648 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2649 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2651 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2652 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2654 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2655 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2657 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2658 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2660 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2661 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2663 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2664 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2666 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2667 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2669 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2670 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2672 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2675 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2676 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2678 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2681 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2684 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2685 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2687 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2688 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2690 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2691 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2693 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2694 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2696 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2697 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2699 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2700 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2702 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2703 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2705 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2706 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2708 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2711 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2712 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2714 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2715 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2717 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2718 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2720 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2721 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2723 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2724 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2726 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2727 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2729 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2732 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2733 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2735 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2736 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2738 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2739 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2741 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2744 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2747 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2748 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2750 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2751 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2753 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2754 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2756 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2757 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2758 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2759 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2760 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2761 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2762 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2763 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2764 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2765 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2766 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2767 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2768 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2770 static swig_type_info
*swig_types_initial
[] = {
2771 _swigt__p_wxControl
,
2772 _swigt__p_wxDateTime
,
2777 _swigt__p_wxEvtHandler
,
2779 _swigt__p_wxCalendarDateAttr
,
2781 _swigt__p_wxCalendarEvent
,
2782 _swigt__p_wxCommandEvent
,
2783 _swigt__p_wxCalendarCtrl
,
2788 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2790 static swig_const_info swig_const_table
[] = {
2800 SWIGEXPORT(void) SWIG_init(void) {
2801 static PyObject
*SWIG_globals
= 0;
2802 static int typeinit
= 0;
2805 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2806 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2807 d
= PyModule_GetDict(m
);
2810 for (i
= 0; swig_types_initial
[i
]; i
++) {
2811 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2815 SWIG_InstallConstants(d
,swig_const_table
);
2817 PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
));
2818 PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
));
2819 PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
));
2820 PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
));
2821 PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
));
2822 PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
));
2823 PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
));
2824 PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
));
2825 PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
));
2826 PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
));
2827 PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
));
2828 PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
));
2829 PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
));
2830 PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
));
2831 PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
));
2832 PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
));
2833 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2834 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2835 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2836 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2837 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2838 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2839 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
2840 SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);