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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 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_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxDateTime__WeekDay swig_types[0]
225 #define SWIGTYPE_p_wxColour swig_types[1]
226 #define SWIGTYPE_p_wxObject swig_types[2]
227 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
228 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
229 #define SWIGTYPE_p_wxWindow swig_types[5]
230 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
231 #define SWIGTYPE_p_wxString swig_types[7]
232 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
233 #define SWIGTYPE_p_wxFont swig_types[9]
234 #define SWIGTYPE_p_wxDateTime swig_types[10]
235 #define SWIGTYPE_p_wxControl swig_types[11]
236 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
237 #define SWIGTYPE_p_wxEvent swig_types[13]
238 static swig_type_info
*swig_types
[15];
240 /* -------- TYPES TABLE (END) -------- */
243 /*-----------------------------------------------
244 @(target):= _calendar.so
245 ------------------------------------------------*/
246 #define SWIG_init init_calendar
248 #define SWIG_name "_calendar"
250 #include "wx/wxPython/wxPython.h"
251 #include "wx/wxPython/pyclasses.h"
253 #include <wx/calctrl.h>
256 DECLARE_DEF_STRING(CalendarNameStr
);
261 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 wxColour
const &arg2_defvalue
= wxNullColour
;
265 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
266 wxColour
const &arg3_defvalue
= wxNullColour
;
267 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
268 wxFont
const &arg4_defvalue
= wxNullFont
;
269 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
270 int arg5
= (int) wxCAL_BORDER_NONE
;
271 wxCalendarDateAttr
*result
;
275 PyObject
* obj0
= 0 ;
276 PyObject
* obj1
= 0 ;
277 PyObject
* obj2
= 0 ;
278 PyObject
* obj3
= 0 ;
280 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
286 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
297 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
301 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) SWIG_fail
;
313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
320 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 wxColour
const &arg2_defvalue
= wxNullColour
;
324 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
325 wxCalendarDateAttr
*result
;
327 PyObject
* obj1
= 0 ;
329 (char *) "border",(char *) "colBorder", NULL
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
336 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) SWIG_fail
;
346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
353 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
358 PyObject
* obj0
= 0 ;
359 PyObject
* obj1
= 0 ;
361 (char *) "self",(char *) "colText", NULL
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
372 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
374 wxPyEndAllowThreads(__tstate
);
375 if (PyErr_Occurred()) SWIG_fail
;
377 Py_INCREF(Py_None
); resultobj
= Py_None
;
384 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
389 PyObject
* obj0
= 0 ;
390 PyObject
* obj1
= 0 ;
392 (char *) "self",(char *) "colBack", NULL
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
403 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
405 wxPyEndAllowThreads(__tstate
);
406 if (PyErr_Occurred()) SWIG_fail
;
408 Py_INCREF(Py_None
); resultobj
= Py_None
;
415 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
420 PyObject
* obj0
= 0 ;
421 PyObject
* obj1
= 0 ;
423 (char *) "self",(char *) "col", NULL
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
434 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
436 wxPyEndAllowThreads(__tstate
);
437 if (PyErr_Occurred()) SWIG_fail
;
439 Py_INCREF(Py_None
); resultobj
= Py_None
;
446 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
450 PyObject
* obj0
= 0 ;
451 PyObject
* obj1
= 0 ;
453 (char *) "self",(char *) "font", NULL
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 (arg1
)->SetFont((wxFont
const &)*arg2
);
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) SWIG_fail
;
469 Py_INCREF(Py_None
); resultobj
= Py_None
;
476 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
480 PyObject
* obj0
= 0 ;
482 (char *) "self",(char *) "border", NULL
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) SWIG_fail
;
494 Py_INCREF(Py_None
); resultobj
= Py_None
;
501 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
505 PyObject
* obj0
= 0 ;
506 PyObject
* obj1
= 0 ;
508 (char *) "self",(char *) "holiday", NULL
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
513 arg2
= PyInt_AsLong(obj1
) ? true : false;
514 if (PyErr_Occurred()) SWIG_fail
;
516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 (arg1
)->SetHoliday(arg2
);
519 wxPyEndAllowThreads(__tstate
);
520 if (PyErr_Occurred()) SWIG_fail
;
522 Py_INCREF(Py_None
); resultobj
= Py_None
;
529 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
533 PyObject
* obj0
= 0 ;
535 (char *) "self", NULL
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) SWIG_fail
;
547 resultobj
= PyInt_FromLong((long)result
);
554 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
558 PyObject
* obj0
= 0 ;
560 (char *) "self", NULL
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) SWIG_fail
;
572 resultobj
= PyInt_FromLong((long)result
);
579 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
583 PyObject
* obj0
= 0 ;
585 (char *) "self", NULL
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) SWIG_fail
;
597 resultobj
= PyInt_FromLong((long)result
);
604 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
608 PyObject
* obj0
= 0 ;
610 (char *) "self", NULL
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) SWIG_fail
;
622 resultobj
= PyInt_FromLong((long)result
);
629 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
633 PyObject
* obj0
= 0 ;
635 (char *) "self", NULL
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
644 wxPyEndAllowThreads(__tstate
);
645 if (PyErr_Occurred()) SWIG_fail
;
647 resultobj
= PyInt_FromLong((long)result
);
654 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
658 PyObject
* obj0
= 0 ;
660 (char *) "self", NULL
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) SWIG_fail
;
672 resultobj
= PyInt_FromLong((long)result
);
679 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
683 PyObject
* obj0
= 0 ;
685 (char *) "self", NULL
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) SWIG_fail
;
698 wxColour
* resultptr
;
699 resultptr
= new wxColour((wxColour
&) result
);
700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
708 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
712 PyObject
* obj0
= 0 ;
714 (char *) "self", NULL
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) SWIG_fail
;
727 wxColour
* resultptr
;
728 resultptr
= new wxColour((wxColour
&) result
);
729 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
737 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
741 PyObject
* obj0
= 0 ;
743 (char *) "self", NULL
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
750 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
752 wxPyEndAllowThreads(__tstate
);
753 if (PyErr_Occurred()) SWIG_fail
;
756 wxColour
* resultptr
;
757 resultptr
= new wxColour((wxColour
&) result
);
758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
766 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
770 PyObject
* obj0
= 0 ;
772 (char *) "self", NULL
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) SWIG_fail
;
786 resultptr
= new wxFont((wxFont
&) result
);
787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
795 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
799 PyObject
* obj0
= 0 ;
801 (char *) "self", NULL
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
808 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
810 wxPyEndAllowThreads(__tstate
);
811 if (PyErr_Occurred()) SWIG_fail
;
813 resultobj
= PyInt_FromLong((long)result
);
820 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
823 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
825 return Py_BuildValue((char *)"");
827 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
831 wxCalendarEvent
*result
;
832 PyObject
* obj0
= 0 ;
834 (char *) "cal",(char *) "type", NULL
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:new_CalendarEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
841 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
843 wxPyEndAllowThreads(__tstate
);
844 if (PyErr_Occurred()) SWIG_fail
;
846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
853 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
857 PyObject
* obj0
= 0 ;
859 (char *) "self", NULL
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
868 result
= (wxDateTime
*) &_result_ref
;
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) SWIG_fail
;
874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
881 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
885 PyObject
* obj0
= 0 ;
887 (char *) "self", NULL
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) SWIG_fail
;
899 resultobj
= PyInt_FromLong((long)result
);
906 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
909 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
911 return Py_BuildValue((char *)"");
913 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
915 wxWindow
*arg1
= (wxWindow
*) 0 ;
917 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
918 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
923 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
924 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
926 wxCalendarCtrl
*result
;
930 PyObject
* obj0
= 0 ;
931 PyObject
* obj2
= 0 ;
932 PyObject
* obj3
= 0 ;
933 PyObject
* obj4
= 0 ;
934 PyObject
* obj6
= 0 ;
936 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
942 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
961 arg7
= wxString_in_helper(obj6
);
962 if (arg7
== NULL
) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
988 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 wxCalendarCtrl
*result
;
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) SWIG_fail
;
1003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1010 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
*resultobj
;
1012 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1013 wxWindow
*arg2
= (wxWindow
*) 0 ;
1015 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1016 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1017 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1018 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1019 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1020 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1021 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1022 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1023 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1027 bool temp8
= false ;
1028 PyObject
* obj0
= 0 ;
1029 PyObject
* obj1
= 0 ;
1030 PyObject
* obj3
= 0 ;
1031 PyObject
* obj4
= 0 ;
1032 PyObject
* obj5
= 0 ;
1033 PyObject
* obj7
= 0 ;
1035 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1042 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1050 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1056 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1061 arg8
= wxString_in_helper(obj7
);
1062 if (arg8
== NULL
) SWIG_fail
;
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= PyInt_FromLong((long)result
);
1088 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
*resultobj
;
1090 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1091 wxDateTime
*arg2
= 0 ;
1092 PyObject
* obj0
= 0 ;
1093 PyObject
* obj1
= 0 ;
1095 (char *) "self",(char *) "date", NULL
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1111 Py_INCREF(Py_None
); resultobj
= Py_None
;
1118 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
*resultobj
;
1120 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1122 PyObject
* obj0
= 0 ;
1124 (char *) "self", NULL
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1133 result
= (wxDateTime
*) &_result_ref
;
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) SWIG_fail
;
1139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1146 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1148 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1149 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1150 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1152 PyObject
* obj0
= 0 ;
1153 PyObject
* obj1
= 0 ;
1155 (char *) "self",(char *) "date", NULL
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) SWIG_fail
;
1173 resultobj
= PyInt_FromLong((long)result
);
1180 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
*resultobj
;
1182 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1184 PyObject
* obj0
= 0 ;
1186 (char *) "self", NULL
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1194 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1195 result
= (wxDateTime
*) &_result_ref
;
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) SWIG_fail
;
1201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1208 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1210 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1211 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1212 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1214 PyObject
* obj0
= 0 ;
1215 PyObject
* obj1
= 0 ;
1217 (char *) "self",(char *) "date", NULL
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1223 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1225 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1235 resultobj
= PyInt_FromLong((long)result
);
1242 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
*resultobj
;
1244 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1246 PyObject
* obj0
= 0 ;
1248 (char *) "self", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1257 result
= (wxDateTime
*) &_result_ref
;
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1270 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1273 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1274 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1275 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1276 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1278 PyObject
* obj0
= 0 ;
1279 PyObject
* obj1
= 0 ;
1280 PyObject
* obj2
= 0 ;
1282 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1294 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= PyInt_FromLong((long)result
);
1313 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1316 bool arg2
= (bool) TRUE
;
1317 PyObject
* obj0
= 0 ;
1318 PyObject
* obj1
= 0 ;
1320 (char *) "self",(char *) "enable", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1326 arg2
= PyInt_AsLong(obj1
) ? true : false;
1327 if (PyErr_Occurred()) SWIG_fail
;
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 (arg1
)->EnableYearChange(arg2
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1336 Py_INCREF(Py_None
); resultobj
= Py_None
;
1343 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
*resultobj
;
1345 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1346 bool arg2
= (bool) TRUE
;
1347 PyObject
* obj0
= 0 ;
1348 PyObject
* obj1
= 0 ;
1350 (char *) "self",(char *) "enable", NULL
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1356 arg2
= PyInt_AsLong(obj1
) ? true : false;
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 (arg1
)->EnableMonthChange(arg2
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1366 Py_INCREF(Py_None
); resultobj
= Py_None
;
1373 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
*resultobj
;
1375 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1376 bool arg2
= (bool) TRUE
;
1377 PyObject
* obj0
= 0 ;
1378 PyObject
* obj1
= 0 ;
1380 (char *) "self",(char *) "display", NULL
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1386 arg2
= PyInt_AsLong(obj1
) ? true : false;
1387 if (PyErr_Occurred()) SWIG_fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 (arg1
)->EnableHolidayDisplay(arg2
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1396 Py_INCREF(Py_None
); resultobj
= Py_None
;
1403 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
*resultobj
;
1405 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1406 wxColour
*arg2
= 0 ;
1407 wxColour
*arg3
= 0 ;
1410 PyObject
* obj0
= 0 ;
1411 PyObject
* obj1
= 0 ;
1412 PyObject
* obj2
= 0 ;
1414 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1425 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1434 Py_INCREF(Py_None
); resultobj
= Py_None
;
1441 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
*resultobj
;
1443 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1445 PyObject
* obj0
= 0 ;
1447 (char *) "self", NULL
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1460 wxColour
* resultptr
;
1461 resultptr
= new wxColour((wxColour
&) result
);
1462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1470 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1476 (char *) "self", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1489 wxColour
* resultptr
;
1490 resultptr
= new wxColour((wxColour
&) result
);
1491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1499 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1502 wxColour
*arg2
= 0 ;
1503 wxColour
*arg3
= 0 ;
1506 PyObject
* obj0
= 0 ;
1507 PyObject
* obj1
= 0 ;
1508 PyObject
* obj2
= 0 ;
1510 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1521 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1530 Py_INCREF(Py_None
); resultobj
= Py_None
;
1537 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1539 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1541 PyObject
* obj0
= 0 ;
1543 (char *) "self", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 wxColour
* resultptr
;
1557 resultptr
= new wxColour((wxColour
&) result
);
1558 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1566 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1570 PyObject
* obj0
= 0 ;
1572 (char *) "self", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1585 wxColour
* resultptr
;
1586 resultptr
= new wxColour((wxColour
&) result
);
1587 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1595 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1598 wxColour
*arg2
= 0 ;
1599 wxColour
*arg3
= 0 ;
1602 PyObject
* obj0
= 0 ;
1603 PyObject
* obj1
= 0 ;
1604 PyObject
* obj2
= 0 ;
1606 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1617 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 Py_INCREF(Py_None
); resultobj
= Py_None
;
1633 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1635 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "self", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 wxColour
* resultptr
;
1653 resultptr
= new wxColour((wxColour
&) result
);
1654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1662 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "self", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1681 wxColour
* resultptr
;
1682 resultptr
= new wxColour((wxColour
&) result
);
1683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1691 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1695 wxCalendarDateAttr
*result
;
1696 PyObject
* obj0
= 0 ;
1697 PyObject
* obj1
= 0 ;
1699 (char *) "self",(char *) "day", NULL
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1704 arg2
= (size_t) PyInt_AsLong(obj1
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1720 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1724 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1725 PyObject
* obj0
= 0 ;
1726 PyObject
* obj1
= 0 ;
1727 PyObject
* obj2
= 0 ;
1729 (char *) "self",(char *) "day",(char *) "attr", NULL
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1734 arg2
= (size_t) PyInt_AsLong(obj1
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1736 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 (arg1
)->SetAttr(arg2
,arg3
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1744 Py_INCREF(Py_None
); resultobj
= Py_None
;
1751 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
*resultobj
;
1753 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1758 (char *) "self",(char *) "day", NULL
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1763 arg2
= (size_t) PyInt_AsLong(obj1
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 (arg1
)->SetHoliday(arg2
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1786 (char *) "self",(char *) "day", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1791 arg2
= (size_t) PyInt_AsLong(obj1
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 (arg1
)->ResetAttr(arg2
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 Py_INCREF(Py_None
); resultobj
= Py_None
;
1807 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1811 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
1812 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
1815 PyObject
* obj0
= 0 ;
1816 PyObject
* obj1
= 0 ;
1817 PyObject
* obj2
= 0 ;
1818 PyObject
* obj3
= 0 ;
1820 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1830 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1833 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 resultobj
= PyInt_FromLong((long)result
);
1849 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1852 bool arg2
= (bool) TRUE
;
1854 PyObject
* obj0
= 0 ;
1855 PyObject
* obj1
= 0 ;
1857 (char *) "self",(char *) "enable", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1863 arg2
= PyInt_AsLong(obj1
) ? true : false;
1864 if (PyErr_Occurred()) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (bool)(arg1
)->Enable(arg2
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 resultobj
= PyInt_FromLong((long)result
);
1880 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1883 bool arg2
= (bool) TRUE
;
1885 PyObject
* obj0
= 0 ;
1886 PyObject
* obj1
= 0 ;
1888 (char *) "self",(char *) "show", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 arg2
= PyInt_AsLong(obj1
) ? true : false;
1895 if (PyErr_Occurred()) SWIG_fail
;
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 result
= (bool)(arg1
)->Show(arg2
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) SWIG_fail
;
1904 resultobj
= PyInt_FromLong((long)result
);
1911 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
1913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1914 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
1916 return Py_BuildValue((char *)"");
1918 static PyMethodDef SwigMethods
[] = {
1919 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1920 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1921 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1922 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1923 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1924 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1925 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1926 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1927 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1928 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1929 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1930 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1931 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1932 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1933 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1934 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1935 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1936 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1937 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1938 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
1939 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1940 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1941 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1942 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
1943 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1944 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1945 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1946 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1947 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1948 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1949 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1950 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1951 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1952 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1953 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1954 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1955 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1956 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1957 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1958 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1959 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1960 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1961 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1962 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1963 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1964 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1965 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1966 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1967 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1968 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1969 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1970 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1971 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1972 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
1977 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1979 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1980 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1982 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
1983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
1985 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1986 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1988 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1989 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1991 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1994 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1995 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1997 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1998 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2000 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2001 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2003 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2004 return (void *)((wxObject
*) ((wxSizer
*) x
));
2006 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2007 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2009 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2010 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2012 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2015 static void *_p_wxEventTo_p_wxObject(void *x
) {
2016 return (void *)((wxObject
*) ((wxEvent
*) x
));
2018 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2019 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2021 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2022 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2024 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2025 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2027 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2028 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2030 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2031 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2033 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2034 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2036 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2037 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2039 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2040 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2042 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2043 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2045 static void *_p_wxControlTo_p_wxObject(void *x
) {
2046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2048 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2049 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2051 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2052 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2054 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2057 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2058 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2060 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2061 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2063 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2064 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2066 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2067 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2069 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2072 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2073 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2075 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2076 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2078 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2079 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2081 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2082 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2084 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2087 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2088 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2090 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2091 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2093 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2094 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2096 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2097 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2099 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2100 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2102 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2103 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2105 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2108 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2111 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2114 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2117 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2120 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2121 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2123 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2126 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2127 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2129 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2130 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2132 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2135 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2136 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2138 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2141 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2142 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2144 static void *_p_wxImageTo_p_wxObject(void *x
) {
2145 return (void *)((wxObject
*) ((wxImage
*) x
));
2147 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2148 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2150 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2151 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2153 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2154 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2156 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2159 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2160 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2162 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2163 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2165 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2166 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2168 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2169 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2171 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2174 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2175 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2177 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2178 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2180 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2181 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2183 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2184 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2186 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2187 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2189 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2190 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2192 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2193 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2195 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2196 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2198 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2199 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2201 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2204 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2205 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2207 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2208 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2210 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2211 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2213 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2216 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2217 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2219 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2222 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2225 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2226 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2228 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2231 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2232 return (void *)((wxWindow
*) ((wxControl
*) x
));
2234 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2235 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2237 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2238 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2240 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2241 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2243 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2244 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2246 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2247 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2249 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2250 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2252 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2253 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2255 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2256 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2258 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2259 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2261 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2262 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2264 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2265 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2267 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2268 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2270 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2273 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2274 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2276 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2279 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2280 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2282 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2283 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2285 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2286 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2288 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2289 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2291 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2292 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2294 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2295 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2297 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2298 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2300 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2303 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2304 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2306 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2307 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2309 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2312 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2313 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2315 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2316 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2318 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2319 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2321 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2322 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2324 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2325 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2327 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2328 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2330 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2333 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2334 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2336 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2339 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2340 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2342 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2345 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2346 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2348 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2349 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2351 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2354 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2355 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2357 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2358 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2360 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2361 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2363 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2364 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2366 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2367 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2369 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2370 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2372 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2373 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2375 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2376 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2378 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2381 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2382 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2384 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2385 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2387 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2388 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2390 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2391 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2393 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2394 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2396 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2397 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2399 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2402 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2403 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2405 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2406 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2408 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2409 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2411 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2414 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2417 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2418 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2420 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2421 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2423 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2424 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2426 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2427 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2428 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
2429 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2430 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2431 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
},{0}};
2432 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
2433 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2434 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
},{0}};
2435 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2436 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2437 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
},{0}};
2438 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2439 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
2441 static swig_type_info
*swig_types_initial
[] = {
2442 _swigt__p_wxDateTime__WeekDay
,
2445 _swigt__p_wxCalendarEvent
,
2446 _swigt__p_wxCalendarDateAttr
,
2448 _swigt__p_wxCommandEvent
,
2450 _swigt__p_wxEvtHandler
,
2452 _swigt__p_wxDateTime
,
2453 _swigt__p_wxControl
,
2454 _swigt__p_wxCalendarCtrl
,
2460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2462 static swig_const_info swig_const_table
[] = {
2463 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2464 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2465 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2466 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2467 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2468 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2469 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2470 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2471 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2472 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2473 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2474 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2475 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2476 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2477 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2478 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2479 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2480 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2481 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2482 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2483 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2484 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2494 SWIGEXPORT(void) SWIG_init(void) {
2495 static PyObject
*SWIG_globals
= 0;
2496 static int typeinit
= 0;
2499 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2500 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2501 d
= PyModule_GetDict(m
);
2504 for (i
= 0; swig_types_initial
[i
]; i
++) {
2505 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2509 SWIG_InstallConstants(d
,swig_const_table
);
2511 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2512 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2513 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2514 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2515 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2516 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));