1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # 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 *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxDateTime__WeekDay swig_types[0]
212 #define SWIGTYPE_p_wxColour swig_types[1]
213 #define SWIGTYPE_p_wxObject swig_types[2]
214 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
215 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
216 #define SWIGTYPE_p_wxWindow swig_types[5]
217 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
218 #define SWIGTYPE_p_wxString swig_types[7]
219 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
220 #define SWIGTYPE_p_wxFont swig_types[9]
221 #define SWIGTYPE_p_wxDateTime swig_types[10]
222 #define SWIGTYPE_p_wxControl swig_types[11]
223 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
224 #define SWIGTYPE_p_wxEvent swig_types[13]
225 static swig_type_info
*swig_types
[15];
227 /* -------- TYPES TABLE (END) -------- */
230 /*-----------------------------------------------
231 @(target):= _calendar.so
232 ------------------------------------------------*/
233 #define SWIG_init init_calendar
235 #define SWIG_name "_calendar"
237 #include "wx/wxPython/wxPython.h"
238 #include "wx/wxPython/pyclasses.h"
240 #include <wx/calctrl.h>
243 DECLARE_DEF_STRING(CalendarNameStr
);
248 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 wxColour
const &arg2_defvalue
= wxNullColour
;
252 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
253 wxColour
const &arg3_defvalue
= wxNullColour
;
254 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
255 wxFont
const &arg4_defvalue
= wxNullFont
;
256 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
257 int arg5
= (int) wxCAL_BORDER_NONE
;
258 wxCalendarDateAttr
*result
;
262 PyObject
* obj0
= 0 ;
263 PyObject
* obj1
= 0 ;
264 PyObject
* obj2
= 0 ;
265 PyObject
* obj3
= 0 ;
267 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
273 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
288 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
295 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
297 wxPyEndAllowThreads(__tstate
);
298 if (PyErr_Occurred()) SWIG_fail
;
300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
307 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 wxColour
const &arg2_defvalue
= wxNullColour
;
311 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
312 wxCalendarDateAttr
*result
;
314 PyObject
* obj1
= 0 ;
316 (char *) "border",(char *) "colBorder", NULL
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
328 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
330 wxPyEndAllowThreads(__tstate
);
331 if (PyErr_Occurred()) SWIG_fail
;
333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
340 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
342 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
345 PyObject
* obj0
= 0 ;
346 PyObject
* obj1
= 0 ;
348 (char *) "self",(char *) "colText", NULL
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) SWIG_fail
;
364 Py_INCREF(Py_None
); resultobj
= Py_None
;
371 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
376 PyObject
* obj0
= 0 ;
377 PyObject
* obj1
= 0 ;
379 (char *) "self",(char *) "colBack", NULL
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) SWIG_fail
;
395 Py_INCREF(Py_None
); resultobj
= Py_None
;
402 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
407 PyObject
* obj0
= 0 ;
408 PyObject
* obj1
= 0 ;
410 (char *) "self",(char *) "col", NULL
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
421 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
423 wxPyEndAllowThreads(__tstate
);
424 if (PyErr_Occurred()) SWIG_fail
;
426 Py_INCREF(Py_None
); resultobj
= Py_None
;
433 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
437 PyObject
* obj0
= 0 ;
438 PyObject
* obj1
= 0 ;
440 (char *) "self",(char *) "font", NULL
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
447 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 (arg1
)->SetFont((wxFont
const &)*arg2
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) SWIG_fail
;
456 Py_INCREF(Py_None
); resultobj
= Py_None
;
463 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
467 PyObject
* obj0
= 0 ;
469 (char *) "self",(char *) "border", NULL
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) SWIG_fail
;
481 Py_INCREF(Py_None
); resultobj
= Py_None
;
488 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
492 PyObject
* obj0
= 0 ;
493 PyObject
* obj1
= 0 ;
495 (char *) "self",(char *) "holiday", NULL
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
500 arg2
= PyInt_AsLong(obj1
) ? true : false;
501 if (PyErr_Occurred()) SWIG_fail
;
503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
504 (arg1
)->SetHoliday(arg2
);
506 wxPyEndAllowThreads(__tstate
);
507 if (PyErr_Occurred()) SWIG_fail
;
509 Py_INCREF(Py_None
); resultobj
= Py_None
;
516 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
520 PyObject
* obj0
= 0 ;
522 (char *) "self", NULL
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) SWIG_fail
;
534 resultobj
= PyInt_FromLong((long)result
);
541 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
545 PyObject
* obj0
= 0 ;
547 (char *) "self", NULL
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) SWIG_fail
;
559 resultobj
= PyInt_FromLong((long)result
);
566 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
570 PyObject
* obj0
= 0 ;
572 (char *) "self", NULL
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
579 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
581 wxPyEndAllowThreads(__tstate
);
582 if (PyErr_Occurred()) SWIG_fail
;
584 resultobj
= PyInt_FromLong((long)result
);
591 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
595 PyObject
* obj0
= 0 ;
597 (char *) "self", NULL
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) SWIG_fail
;
609 resultobj
= PyInt_FromLong((long)result
);
616 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
620 PyObject
* obj0
= 0 ;
622 (char *) "self", NULL
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) SWIG_fail
;
634 resultobj
= PyInt_FromLong((long)result
);
641 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
645 PyObject
* obj0
= 0 ;
647 (char *) "self", NULL
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
654 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
656 wxPyEndAllowThreads(__tstate
);
657 if (PyErr_Occurred()) SWIG_fail
;
659 resultobj
= PyInt_FromLong((long)result
);
666 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
670 PyObject
* obj0
= 0 ;
672 (char *) "self", NULL
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) SWIG_fail
;
685 wxColour
* resultptr
;
686 resultptr
= new wxColour((wxColour
&) result
);
687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
695 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
699 PyObject
* obj0
= 0 ;
701 (char *) "self", NULL
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) SWIG_fail
;
714 wxColour
* resultptr
;
715 resultptr
= new wxColour((wxColour
&) result
);
716 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
724 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
728 PyObject
* obj0
= 0 ;
730 (char *) "self", NULL
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
737 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
739 wxPyEndAllowThreads(__tstate
);
740 if (PyErr_Occurred()) SWIG_fail
;
743 wxColour
* resultptr
;
744 resultptr
= new wxColour((wxColour
&) result
);
745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
753 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
757 PyObject
* obj0
= 0 ;
759 (char *) "self", NULL
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) SWIG_fail
;
773 resultptr
= new wxFont((wxFont
&) result
);
774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
782 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
786 PyObject
* obj0
= 0 ;
788 (char *) "self", NULL
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) SWIG_fail
;
800 resultobj
= PyInt_FromLong((long)result
);
807 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
810 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
812 return Py_BuildValue((char *)"");
814 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
818 wxCalendarEvent
*result
;
819 PyObject
* obj0
= 0 ;
821 (char *) "cal",(char *) "type", NULL
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:new_CalendarEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) SWIG_fail
;
833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
840 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
844 PyObject
* obj0
= 0 ;
846 (char *) "self", NULL
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
854 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
855 result
= (wxDateTime
*) &_result_ref
;
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) SWIG_fail
;
861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
868 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
872 PyObject
* obj0
= 0 ;
874 (char *) "self", NULL
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) SWIG_fail
;
886 resultobj
= PyInt_FromLong((long)result
);
893 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
896 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
898 return Py_BuildValue((char *)"");
900 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
902 wxWindow
*arg1
= (wxWindow
*) 0 ;
904 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
905 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
910 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
911 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
913 wxCalendarCtrl
*result
;
917 PyObject
* obj0
= 0 ;
918 PyObject
* obj2
= 0 ;
919 PyObject
* obj3
= 0 ;
920 PyObject
* obj4
= 0 ;
921 PyObject
* obj6
= 0 ;
923 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
929 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
948 arg7
= wxString_in_helper(obj6
);
949 if (arg7
== NULL
) SWIG_fail
;
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) SWIG_fail
;
960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
975 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 wxCalendarCtrl
*result
;
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
997 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1000 wxWindow
*arg2
= (wxWindow
*) 0 ;
1002 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1003 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1008 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1009 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1010 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1014 bool temp8
= False
;
1015 PyObject
* obj0
= 0 ;
1016 PyObject
* obj1
= 0 ;
1017 PyObject
* obj3
= 0 ;
1018 PyObject
* obj4
= 0 ;
1019 PyObject
* obj5
= 0 ;
1020 PyObject
* obj7
= 0 ;
1022 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1029 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1048 arg8
= wxString_in_helper(obj7
);
1049 if (arg8
== NULL
) SWIG_fail
;
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 resultobj
= PyInt_FromLong((long)result
);
1075 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
*resultobj
;
1077 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1078 wxDateTime
*arg2
= 0 ;
1079 PyObject
* obj0
= 0 ;
1080 PyObject
* obj1
= 0 ;
1082 (char *) "self",(char *) "date", NULL
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1098 Py_INCREF(Py_None
); resultobj
= Py_None
;
1105 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
*resultobj
;
1107 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1109 PyObject
* obj0
= 0 ;
1111 (char *) "self", NULL
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1120 result
= (wxDateTime
*) &_result_ref
;
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1133 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
*resultobj
;
1135 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1136 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1137 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1142 (char *) "self",(char *) "date", NULL
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1160 resultobj
= PyInt_FromLong((long)result
);
1167 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
*resultobj
;
1169 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1171 PyObject
* obj0
= 0 ;
1173 (char *) "self", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1182 result
= (wxDateTime
*) &_result_ref
;
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1195 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1198 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1199 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1204 (char *) "self",(char *) "date", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1222 resultobj
= PyInt_FromLong((long)result
);
1229 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
*resultobj
;
1231 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1233 PyObject
* obj0
= 0 ;
1235 (char *) "self", NULL
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1244 result
= (wxDateTime
*) &_result_ref
;
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1257 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
*resultobj
;
1259 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1260 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1261 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1262 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1263 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1265 PyObject
* obj0
= 0 ;
1266 PyObject
* obj1
= 0 ;
1267 PyObject
* obj2
= 0 ;
1269 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1277 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1281 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 resultobj
= PyInt_FromLong((long)result
);
1300 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1302 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1303 bool arg2
= (bool) True
;
1304 PyObject
* obj0
= 0 ;
1305 PyObject
* obj1
= 0 ;
1307 (char *) "self",(char *) "enable", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1313 arg2
= PyInt_AsLong(obj1
) ? true : false;
1314 if (PyErr_Occurred()) SWIG_fail
;
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 (arg1
)->EnableYearChange(arg2
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) SWIG_fail
;
1323 Py_INCREF(Py_None
); resultobj
= Py_None
;
1330 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1333 bool arg2
= (bool) True
;
1334 PyObject
* obj0
= 0 ;
1335 PyObject
* obj1
= 0 ;
1337 (char *) "self",(char *) "enable", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 arg2
= PyInt_AsLong(obj1
) ? true : false;
1344 if (PyErr_Occurred()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 (arg1
)->EnableMonthChange(arg2
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 Py_INCREF(Py_None
); resultobj
= Py_None
;
1360 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1363 bool arg2
= (bool) True
;
1364 PyObject
* obj0
= 0 ;
1365 PyObject
* obj1
= 0 ;
1367 (char *) "self",(char *) "display", NULL
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1373 arg2
= PyInt_AsLong(obj1
) ? true : false;
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 (arg1
)->EnableHolidayDisplay(arg2
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1383 Py_INCREF(Py_None
); resultobj
= Py_None
;
1390 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1393 wxColour
*arg2
= 0 ;
1394 wxColour
*arg3
= 0 ;
1397 PyObject
* obj0
= 0 ;
1398 PyObject
* obj1
= 0 ;
1399 PyObject
* obj2
= 0 ;
1401 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1421 Py_INCREF(Py_None
); resultobj
= Py_None
;
1428 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
*resultobj
;
1430 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 wxColour
* resultptr
;
1448 resultptr
= new wxColour((wxColour
&) result
);
1449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1457 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1461 PyObject
* obj0
= 0 ;
1463 (char *) "self", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1476 wxColour
* resultptr
;
1477 resultptr
= new wxColour((wxColour
&) result
);
1478 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1486 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1489 wxColour
*arg2
= 0 ;
1490 wxColour
*arg3
= 0 ;
1493 PyObject
* obj0
= 0 ;
1494 PyObject
* obj1
= 0 ;
1495 PyObject
* obj2
= 0 ;
1497 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1508 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1517 Py_INCREF(Py_None
); resultobj
= Py_None
;
1524 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
*resultobj
;
1526 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1528 PyObject
* obj0
= 0 ;
1530 (char *) "self", NULL
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1543 wxColour
* resultptr
;
1544 resultptr
= new wxColour((wxColour
&) result
);
1545 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1553 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1555 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1557 PyObject
* obj0
= 0 ;
1559 (char *) "self", NULL
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1572 wxColour
* resultptr
;
1573 resultptr
= new wxColour((wxColour
&) result
);
1574 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1582 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1584 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1585 wxColour
*arg2
= 0 ;
1586 wxColour
*arg3
= 0 ;
1589 PyObject
* obj0
= 0 ;
1590 PyObject
* obj1
= 0 ;
1591 PyObject
* obj2
= 0 ;
1593 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1604 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1610 wxPyEndAllowThreads(__tstate
);
1611 if (PyErr_Occurred()) SWIG_fail
;
1613 Py_INCREF(Py_None
); resultobj
= Py_None
;
1620 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 wxColour
* resultptr
;
1640 resultptr
= new wxColour((wxColour
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1649 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1668 wxColour
* resultptr
;
1669 resultptr
= new wxColour((wxColour
&) result
);
1670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1678 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1680 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1682 wxCalendarDateAttr
*result
;
1683 PyObject
* obj0
= 0 ;
1684 PyObject
* obj1
= 0 ;
1686 (char *) "self",(char *) "day", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1691 arg2
= (size_t) PyInt_AsLong(obj1
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1707 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1711 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1712 PyObject
* obj0
= 0 ;
1713 PyObject
* obj1
= 0 ;
1714 PyObject
* obj2
= 0 ;
1716 (char *) "self",(char *) "day",(char *) "attr", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1721 arg2
= (size_t) PyInt_AsLong(obj1
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1723 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 (arg1
)->SetAttr(arg2
,arg3
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1743 PyObject
* obj1
= 0 ;
1745 (char *) "self",(char *) "day", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1750 arg2
= (size_t) PyInt_AsLong(obj1
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->SetHoliday(arg2
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1771 PyObject
* obj1
= 0 ;
1773 (char *) "self",(char *) "day", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1778 arg2
= (size_t) PyInt_AsLong(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 (arg1
)->ResetAttr(arg2
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1798 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
1799 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
1802 PyObject
* obj0
= 0 ;
1803 PyObject
* obj1
= 0 ;
1804 PyObject
* obj2
= 0 ;
1805 PyObject
* obj3
= 0 ;
1807 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1817 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1820 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= PyInt_FromLong((long)result
);
1836 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1839 bool arg2
= (bool) True
;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1844 (char *) "self",(char *) "enable", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1850 arg2
= PyInt_AsLong(obj1
) ? true : false;
1851 if (PyErr_Occurred()) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 result
= (bool)(arg1
)->Enable(arg2
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 resultobj
= PyInt_FromLong((long)result
);
1867 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1870 bool arg2
= (bool) True
;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1875 (char *) "self",(char *) "show", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1881 arg2
= PyInt_AsLong(obj1
) ? true : false;
1882 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (bool)(arg1
)->Show(arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= PyInt_FromLong((long)result
);
1898 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
1900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
1903 return Py_BuildValue((char *)"");
1905 static PyMethodDef SwigMethods
[] = {
1906 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1907 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1908 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1909 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1910 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1911 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1912 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1913 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1914 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1915 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1916 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1917 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1918 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1919 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1920 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1921 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1922 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1923 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1924 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1925 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
1926 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1927 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1928 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1929 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
1930 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1931 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1932 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1933 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1934 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1935 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1936 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1937 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1938 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1939 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1940 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1941 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1942 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1943 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1944 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1945 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1946 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1947 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1948 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1949 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1950 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1951 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1952 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1953 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1954 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1955 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1956 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1957 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1958 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1959 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
1964 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1966 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1967 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1969 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
1970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
1972 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1973 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1975 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1976 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1978 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1981 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1982 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1984 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1985 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1987 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1988 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1990 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1991 return (void *)((wxObject
*) ((wxSizer
*) x
));
1993 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
1994 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
1996 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
1997 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
1999 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2002 static void *_p_wxEventTo_p_wxObject(void *x
) {
2003 return (void *)((wxObject
*) ((wxEvent
*) x
));
2005 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2006 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2008 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2009 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2011 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2012 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2014 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2015 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2017 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2018 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2020 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2021 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2023 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2024 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2026 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2027 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2029 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2030 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2032 static void *_p_wxControlTo_p_wxObject(void *x
) {
2033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2035 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2036 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2038 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2039 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2041 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2044 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2045 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2047 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2048 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2050 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2051 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2053 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2054 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2056 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2059 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2060 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2062 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2063 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2065 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2066 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2068 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2069 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2071 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2074 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2075 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2077 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2078 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2080 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2081 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2083 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2084 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2086 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2087 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2089 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2090 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2092 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2095 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2098 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2101 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2104 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2107 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2110 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2111 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2113 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2116 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2117 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2119 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2122 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2123 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2125 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2128 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2129 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2131 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2132 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2134 static void *_p_wxImageTo_p_wxObject(void *x
) {
2135 return (void *)((wxObject
*) ((wxImage
*) x
));
2137 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2138 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2140 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2141 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2143 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2144 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2146 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2149 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2150 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2152 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2153 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2155 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2156 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2158 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2159 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2161 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2164 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2165 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2167 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2168 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2170 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2173 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2174 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2176 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2177 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2179 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2180 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2182 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2183 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2185 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2186 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2188 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2189 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2191 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2194 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2195 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2197 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2198 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2200 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2201 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2203 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2206 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2207 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2209 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2212 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2215 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2216 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2218 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2219 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2221 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2222 return (void *)((wxWindow
*) ((wxControl
*) x
));
2224 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2225 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2227 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2228 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2230 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2231 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2233 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2234 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2236 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2237 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2239 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2240 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2242 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2243 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2245 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2246 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2248 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2249 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2251 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2252 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2254 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2255 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2257 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2258 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2260 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2261 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2263 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2264 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2266 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2269 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2270 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2272 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2273 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2275 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2276 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2278 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2279 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2281 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2282 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2284 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2285 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2287 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2288 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2290 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2293 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2294 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2296 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2297 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2315 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2317 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2318 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2320 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2323 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2324 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2326 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2329 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2330 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2332 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2335 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2336 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2338 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2339 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2342 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2345 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2348 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2351 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2353 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2354 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2356 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2357 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2359 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2360 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2362 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2363 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2365 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2366 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2368 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2371 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2372 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2374 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2375 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2377 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2378 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2380 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2381 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2383 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2384 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2386 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2387 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2389 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2392 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2393 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2395 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2396 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2398 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2399 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2401 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2404 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2407 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2408 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2410 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2411 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2413 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2414 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2416 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2417 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2418 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
2419 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2420 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2421 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}};
2422 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}};
2423 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2424 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}};
2425 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2426 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2427 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}};
2428 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2429 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}};
2431 static swig_type_info
*swig_types_initial
[] = {
2432 _swigt__p_wxDateTime__WeekDay
,
2435 _swigt__p_wxCalendarEvent
,
2436 _swigt__p_wxCalendarDateAttr
,
2438 _swigt__p_wxCommandEvent
,
2440 _swigt__p_wxEvtHandler
,
2442 _swigt__p_wxDateTime
,
2443 _swigt__p_wxControl
,
2444 _swigt__p_wxCalendarCtrl
,
2450 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2452 static swig_const_info swig_const_table
[] = {
2453 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2454 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2455 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2456 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2457 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2458 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2459 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2460 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2461 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2462 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2463 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2464 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2465 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2466 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2467 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2468 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2469 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2470 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2471 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2472 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2473 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2474 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2484 SWIGEXPORT(void) SWIG_init(void) {
2485 static PyObject
*SWIG_globals
= 0;
2486 static int typeinit
= 0;
2489 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2490 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2491 d
= PyModule_GetDict(m
);
2494 for (i
= 0; swig_types_initial
[i
]; i
++) {
2495 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2499 SWIG_InstallConstants(d
,swig_const_table
);
2501 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2502 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2503 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2504 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2505 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2506 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));