1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 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_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxDateTime__WeekDay swig_types[0]
219 #define SWIGTYPE_p_wxColour swig_types[1]
220 #define SWIGTYPE_p_wxObject swig_types[2]
221 #define SWIGTYPE_p_wxCalendarEvent swig_types[3]
222 #define SWIGTYPE_p_wxCalendarDateAttr swig_types[4]
223 #define SWIGTYPE_p_wxWindow swig_types[5]
224 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
225 #define SWIGTYPE_p_wxString swig_types[7]
226 #define SWIGTYPE_p_wxEvtHandler swig_types[8]
227 #define SWIGTYPE_p_wxFont swig_types[9]
228 #define SWIGTYPE_p_wxDateTime swig_types[10]
229 #define SWIGTYPE_p_wxControl swig_types[11]
230 #define SWIGTYPE_p_wxCalendarCtrl swig_types[12]
231 #define SWIGTYPE_p_wxEvent swig_types[13]
232 static swig_type_info
*swig_types
[15];
234 /* -------- TYPES TABLE (END) -------- */
237 /*-----------------------------------------------
238 @(target):= _calendar.so
239 ------------------------------------------------*/
240 #define SWIG_init init_calendar
242 #define SWIG_name "_calendar"
244 #include "wx/wxPython/wxPython.h"
245 #include "wx/wxPython/pyclasses.h"
247 #include <wx/calctrl.h>
250 DECLARE_DEF_STRING(CalendarNameStr
);
255 static PyObject
*_wrap_new_CalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 wxColour
const &arg2_defvalue
= wxNullColour
;
259 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
260 wxColour
const &arg3_defvalue
= wxNullColour
;
261 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
262 wxFont
const &arg4_defvalue
= wxNullFont
;
263 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
264 int arg5
= (int) wxCAL_BORDER_NONE
;
265 wxCalendarDateAttr
*result
;
269 PyObject
* obj0
= 0 ;
270 PyObject
* obj1
= 0 ;
271 PyObject
* obj2
= 0 ;
272 PyObject
* obj3
= 0 ;
274 (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOi:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
280 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
285 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
291 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
295 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
302 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxFont
const &)*arg4
,(wxCalendarDateBorder
)arg5
);
304 wxPyEndAllowThreads(__tstate
);
305 if (PyErr_Occurred()) SWIG_fail
;
307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
314 static PyObject
*_wrap_new_CalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 wxColour
const &arg2_defvalue
= wxNullColour
;
318 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
319 wxCalendarDateAttr
*result
;
321 PyObject
* obj1
= 0 ;
323 (char *) "border",(char *) "colBorder", NULL
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|O:new_CalendarDateAttrBorder",kwnames
,&arg1
,&obj1
)) goto fail
;
330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
335 result
= (wxCalendarDateAttr
*)new wxCalendarDateAttr((wxCalendarDateBorder
)arg1
,(wxColour
const &)*arg2
);
337 wxPyEndAllowThreads(__tstate
);
338 if (PyErr_Occurred()) SWIG_fail
;
340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 1);
347 static PyObject
*_wrap_CalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
352 PyObject
* obj0
= 0 ;
353 PyObject
* obj1
= 0 ;
355 (char *) "self",(char *) "colText", NULL
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
368 wxPyEndAllowThreads(__tstate
);
369 if (PyErr_Occurred()) SWIG_fail
;
371 Py_INCREF(Py_None
); resultobj
= Py_None
;
378 static PyObject
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
383 PyObject
* obj0
= 0 ;
384 PyObject
* obj1
= 0 ;
386 (char *) "self",(char *) "colBack", NULL
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) SWIG_fail
;
402 Py_INCREF(Py_None
); resultobj
= Py_None
;
409 static PyObject
*_wrap_CalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
414 PyObject
* obj0
= 0 ;
415 PyObject
* obj1
= 0 ;
417 (char *) "self",(char *) "col", NULL
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
;
421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
428 (arg1
)->SetBorderColour((wxColour
const &)*arg2
);
430 wxPyEndAllowThreads(__tstate
);
431 if (PyErr_Occurred()) SWIG_fail
;
433 Py_INCREF(Py_None
); resultobj
= Py_None
;
440 static PyObject
*_wrap_CalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
444 PyObject
* obj0
= 0 ;
445 PyObject
* obj1
= 0 ;
447 (char *) "self",(char *) "font", NULL
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 (arg1
)->SetFont((wxFont
const &)*arg2
);
460 wxPyEndAllowThreads(__tstate
);
461 if (PyErr_Occurred()) SWIG_fail
;
463 Py_INCREF(Py_None
); resultobj
= Py_None
;
470 static PyObject
*_wrap_CalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
474 PyObject
* obj0
= 0 ;
476 (char *) "self",(char *) "border", NULL
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
483 (arg1
)->SetBorder((wxCalendarDateBorder
)arg2
);
485 wxPyEndAllowThreads(__tstate
);
486 if (PyErr_Occurred()) SWIG_fail
;
488 Py_INCREF(Py_None
); resultobj
= Py_None
;
495 static PyObject
*_wrap_CalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
499 PyObject
* obj0
= 0 ;
500 PyObject
* obj1
= 0 ;
502 (char *) "self",(char *) "holiday", NULL
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
507 arg2
= PyInt_AsLong(obj1
) ? true : false;
508 if (PyErr_Occurred()) SWIG_fail
;
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 (arg1
)->SetHoliday(arg2
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) SWIG_fail
;
516 Py_INCREF(Py_None
); resultobj
= Py_None
;
523 static PyObject
*_wrap_CalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
527 PyObject
* obj0
= 0 ;
529 (char *) "self", NULL
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasTextColour();
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) SWIG_fail
;
541 resultobj
= PyInt_FromLong((long)result
);
548 static PyObject
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
552 PyObject
* obj0
= 0 ;
554 (char *) "self", NULL
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBackgroundColour();
563 wxPyEndAllowThreads(__tstate
);
564 if (PyErr_Occurred()) SWIG_fail
;
566 resultobj
= PyInt_FromLong((long)result
);
573 static PyObject
*_wrap_CalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
577 PyObject
* obj0
= 0 ;
579 (char *) "self", NULL
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
;
583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorderColour();
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) SWIG_fail
;
591 resultobj
= PyInt_FromLong((long)result
);
598 static PyObject
*_wrap_CalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
602 PyObject
* obj0
= 0 ;
604 (char *) "self", NULL
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
;
608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasFont();
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) SWIG_fail
;
616 resultobj
= PyInt_FromLong((long)result
);
623 static PyObject
*_wrap_CalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
627 PyObject
* obj0
= 0 ;
629 (char *) "self", NULL
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
;
633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
636 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->HasBorder();
638 wxPyEndAllowThreads(__tstate
);
639 if (PyErr_Occurred()) SWIG_fail
;
641 resultobj
= PyInt_FromLong((long)result
);
648 static PyObject
*_wrap_CalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
652 PyObject
* obj0
= 0 ;
654 (char *) "self", NULL
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
;
658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
661 result
= (bool)((wxCalendarDateAttr
const *)arg1
)->IsHoliday();
663 wxPyEndAllowThreads(__tstate
);
664 if (PyErr_Occurred()) SWIG_fail
;
666 resultobj
= PyInt_FromLong((long)result
);
673 static PyObject
*_wrap_CalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
677 PyObject
* obj0
= 0 ;
679 (char *) "self", NULL
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
686 result
= ((wxCalendarDateAttr
const *)arg1
)->GetTextColour();
688 wxPyEndAllowThreads(__tstate
);
689 if (PyErr_Occurred()) SWIG_fail
;
692 wxColour
* resultptr
;
693 resultptr
= new wxColour((wxColour
&) result
);
694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
702 static PyObject
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
706 PyObject
* obj0
= 0 ;
708 (char *) "self", NULL
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBackgroundColour();
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) SWIG_fail
;
721 wxColour
* resultptr
;
722 resultptr
= new wxColour((wxColour
&) result
);
723 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
731 static PyObject
*_wrap_CalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
733 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
735 PyObject
* obj0
= 0 ;
737 (char *) "self", NULL
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
;
741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 result
= ((wxCalendarDateAttr
const *)arg1
)->GetBorderColour();
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) SWIG_fail
;
750 wxColour
* resultptr
;
751 resultptr
= new wxColour((wxColour
&) result
);
752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
760 static PyObject
*_wrap_CalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
764 PyObject
* obj0
= 0 ;
766 (char *) "self", NULL
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
;
770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
773 result
= ((wxCalendarDateAttr
const *)arg1
)->GetFont();
775 wxPyEndAllowThreads(__tstate
);
776 if (PyErr_Occurred()) SWIG_fail
;
780 resultptr
= new wxFont((wxFont
&) result
);
781 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
789 static PyObject
*_wrap_CalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 wxCalendarDateAttr
*arg1
= (wxCalendarDateAttr
*) 0 ;
793 PyObject
* obj0
= 0 ;
795 (char *) "self", NULL
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
;
799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 result
= (int)((wxCalendarDateAttr
const *)arg1
)->GetBorder();
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) SWIG_fail
;
807 resultobj
= PyInt_FromLong((long)result
);
814 static PyObject
* CalendarDateAttr_swigregister(PyObject
*self
, PyObject
*args
) {
816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
817 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
);
819 return Py_BuildValue((char *)"");
821 static PyObject
*_wrap_new_CalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
825 wxCalendarEvent
*result
;
826 PyObject
* obj0
= 0 ;
828 (char *) "cal",(char *) "type", NULL
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:new_CalendarEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 result
= (wxCalendarEvent
*)new wxCalendarEvent(arg1
,arg2
);
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) SWIG_fail
;
840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarEvent
, 1);
847 static PyObject
*_wrap_CalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
851 PyObject
* obj0
= 0 ;
853 (char *) "self", NULL
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
;
857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
861 wxDateTime
const &_result_ref
= ((wxCalendarEvent
const *)arg1
)->GetDate();
862 result
= (wxDateTime
*) &_result_ref
;
865 wxPyEndAllowThreads(__tstate
);
866 if (PyErr_Occurred()) SWIG_fail
;
868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
875 static PyObject
*_wrap_CalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 wxCalendarEvent
*arg1
= (wxCalendarEvent
*) 0 ;
879 PyObject
* obj0
= 0 ;
881 (char *) "self", NULL
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
;
885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 result
= (int)((wxCalendarEvent
const *)arg1
)->GetWeekDay();
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) SWIG_fail
;
893 resultobj
= PyInt_FromLong((long)result
);
900 static PyObject
* CalendarEvent_swigregister(PyObject
*self
, PyObject
*args
) {
902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
903 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
);
905 return Py_BuildValue((char *)"");
907 static PyObject
*_wrap_new_CalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 wxWindow
*arg1
= (wxWindow
*) 0 ;
911 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
912 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
917 long arg6
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
918 wxString
const &arg7_defvalue
= wxPyCalendarNameStr
;
919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
920 wxCalendarCtrl
*result
;
924 PyObject
* obj0
= 0 ;
925 PyObject
* obj2
= 0 ;
926 PyObject
* obj3
= 0 ;
927 PyObject
* obj4
= 0 ;
928 PyObject
* obj6
= 0 ;
930 (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlO:new_CalendarCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
936 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
944 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
950 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
955 arg7
= wxString_in_helper(obj6
);
956 if (arg7
== NULL
) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 result
= (wxCalendarCtrl
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
982 static PyObject
*_wrap_new_PreCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 wxCalendarCtrl
*result
;
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
;
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 result
= (wxCalendarCtrl
*)new wxCalendarCtrl();
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) SWIG_fail
;
997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarCtrl
, 1);
1004 static PyObject
*_wrap_CalendarCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1007 wxWindow
*arg2
= (wxWindow
*) 0 ;
1009 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
1010 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
1011 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1012 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1013 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1014 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1015 long arg7
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS
;
1016 wxString
const &arg8_defvalue
= wxPyCalendarNameStr
;
1017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1021 bool temp8
= False
;
1022 PyObject
* obj0
= 0 ;
1023 PyObject
* obj1
= 0 ;
1024 PyObject
* obj3
= 0 ;
1025 PyObject
* obj4
= 0 ;
1026 PyObject
* obj5
= 0 ;
1027 PyObject
* obj7
= 0 ;
1029 (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
1033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1036 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1044 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1050 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1055 arg8
= wxString_in_helper(obj7
);
1056 if (arg8
== NULL
) SWIG_fail
;
1061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
1064 wxPyEndAllowThreads(__tstate
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1067 resultobj
= PyInt_FromLong((long)result
);
1082 static PyObject
*_wrap_CalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1085 wxDateTime
*arg2
= 0 ;
1086 PyObject
* obj0
= 0 ;
1087 PyObject
* obj1
= 0 ;
1089 (char *) "self",(char *) "date", NULL
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
1093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1096 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1105 Py_INCREF(Py_None
); resultobj
= Py_None
;
1112 static PyObject
*_wrap_CalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
*resultobj
;
1114 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1116 PyObject
* obj0
= 0 ;
1118 (char *) "self", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
;
1122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetDate();
1127 result
= (wxDateTime
*) &_result_ref
;
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1140 static PyObject
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1142 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1143 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1144 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1146 PyObject
* obj0
= 0 ;
1147 PyObject
* obj1
= 0 ;
1149 (char *) "self",(char *) "date", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime
const &)*arg2
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1167 resultobj
= PyInt_FromLong((long)result
);
1174 static PyObject
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
*resultobj
;
1176 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1178 PyObject
* obj0
= 0 ;
1180 (char *) "self", NULL
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
;
1184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetLowerDateLimit();
1189 result
= (wxDateTime
*) &_result_ref
;
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) SWIG_fail
;
1195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1202 static PyObject
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
*resultobj
;
1204 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1205 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1206 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1208 PyObject
* obj0
= 0 ;
1209 PyObject
* obj1
= 0 ;
1211 (char *) "self",(char *) "date", NULL
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
;
1215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1224 result
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime
const &)*arg2
);
1226 wxPyEndAllowThreads(__tstate
);
1227 if (PyErr_Occurred()) SWIG_fail
;
1229 resultobj
= PyInt_FromLong((long)result
);
1236 static PyObject
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
*resultobj
;
1238 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1240 PyObject
* obj0
= 0 ;
1242 (char *) "self", NULL
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
;
1246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxDateTime
const &_result_ref
= ((wxCalendarCtrl
const *)arg1
)->GetUpperDateLimit();
1251 result
= (wxDateTime
*) &_result_ref
;
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
1264 static PyObject
*_wrap_CalendarCtrl_SetDateRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
*resultobj
;
1266 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1267 wxDateTime
const &arg2_defvalue
= wxDefaultDateTime
;
1268 wxDateTime
*arg2
= (wxDateTime
*) &arg2_defvalue
;
1269 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
1270 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
1272 PyObject
* obj0
= 0 ;
1273 PyObject
* obj1
= 0 ;
1274 PyObject
* obj2
= 0 ;
1276 (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1284 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1288 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (bool)(arg1
)->SetDateRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= PyInt_FromLong((long)result
);
1307 static PyObject
*_wrap_CalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1310 bool arg2
= (bool) True
;
1311 PyObject
* obj0
= 0 ;
1312 PyObject
* obj1
= 0 ;
1314 (char *) "self",(char *) "enable", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1320 arg2
= PyInt_AsLong(obj1
) ? true : false;
1321 if (PyErr_Occurred()) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 (arg1
)->EnableYearChange(arg2
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1330 Py_INCREF(Py_None
); resultobj
= Py_None
;
1337 static PyObject
*_wrap_CalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1340 bool arg2
= (bool) True
;
1341 PyObject
* obj0
= 0 ;
1342 PyObject
* obj1
= 0 ;
1344 (char *) "self",(char *) "enable", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1350 arg2
= PyInt_AsLong(obj1
) ? true : false;
1351 if (PyErr_Occurred()) SWIG_fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 (arg1
)->EnableMonthChange(arg2
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 Py_INCREF(Py_None
); resultobj
= Py_None
;
1367 static PyObject
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1370 bool arg2
= (bool) True
;
1371 PyObject
* obj0
= 0 ;
1372 PyObject
* obj1
= 0 ;
1374 (char *) "self",(char *) "display", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
;
1378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1380 arg2
= PyInt_AsLong(obj1
) ? true : false;
1381 if (PyErr_Occurred()) SWIG_fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 (arg1
)->EnableHolidayDisplay(arg2
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 Py_INCREF(Py_None
); resultobj
= Py_None
;
1397 static PyObject
*_wrap_CalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1400 wxColour
*arg2
= 0 ;
1401 wxColour
*arg3
= 0 ;
1404 PyObject
* obj0
= 0 ;
1405 PyObject
* obj1
= 0 ;
1406 PyObject
* obj2
= 0 ;
1408 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1419 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 (arg1
)->SetHeaderColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1428 Py_INCREF(Py_None
); resultobj
= Py_None
;
1435 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1439 PyObject
* obj0
= 0 ;
1441 (char *) "self", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourFg();
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1454 wxColour
* resultptr
;
1455 resultptr
= new wxColour((wxColour
&) result
);
1456 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1464 static PyObject
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1468 PyObject
* obj0
= 0 ;
1470 (char *) "self", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
;
1474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= ((wxCalendarCtrl
const *)arg1
)->GetHeaderColourBg();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1483 wxColour
* resultptr
;
1484 resultptr
= new wxColour((wxColour
&) result
);
1485 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1493 static PyObject
*_wrap_CalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1496 wxColour
*arg2
= 0 ;
1497 wxColour
*arg3
= 0 ;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1502 PyObject
* obj2
= 0 ;
1504 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1515 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 (arg1
)->SetHighlightColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1531 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1533 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1535 PyObject
* obj0
= 0 ;
1537 (char *) "self", NULL
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
;
1541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourFg();
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1550 wxColour
* resultptr
;
1551 resultptr
= new wxColour((wxColour
&) result
);
1552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1560 static PyObject
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1564 PyObject
* obj0
= 0 ;
1566 (char *) "self", NULL
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
;
1570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= ((wxCalendarCtrl
const *)arg1
)->GetHighlightColourBg();
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 wxColour
* resultptr
;
1580 resultptr
= new wxColour((wxColour
&) result
);
1581 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1589 static PyObject
*_wrap_CalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1592 wxColour
*arg2
= 0 ;
1593 wxColour
*arg3
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1598 PyObject
* obj2
= 0 ;
1600 (char *) "self",(char *) "colFg",(char *) "colBg", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1611 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 (arg1
)->SetHolidayColours((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1620 Py_INCREF(Py_None
); resultobj
= Py_None
;
1627 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourFg();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1646 wxColour
* resultptr
;
1647 resultptr
= new wxColour((wxColour
&) result
);
1648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1656 static PyObject
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1662 (char *) "self", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= ((wxCalendarCtrl
const *)arg1
)->GetHolidayColourBg();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 wxColour
* resultptr
;
1676 resultptr
= new wxColour((wxColour
&) result
);
1677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1685 static PyObject
*_wrap_CalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1689 wxCalendarDateAttr
*result
;
1690 PyObject
* obj0
= 0 ;
1691 PyObject
* obj1
= 0 ;
1693 (char *) "self",(char *) "day", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1698 arg2
= (size_t) PyInt_AsLong(obj1
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (wxCalendarDateAttr
*)((wxCalendarCtrl
const *)arg1
)->GetAttr(arg2
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCalendarDateAttr
, 0);
1714 static PyObject
*_wrap_CalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1718 wxCalendarDateAttr
*arg3
= (wxCalendarDateAttr
*) 0 ;
1719 PyObject
* obj0
= 0 ;
1720 PyObject
* obj1
= 0 ;
1721 PyObject
* obj2
= 0 ;
1723 (char *) "self",(char *) "day",(char *) "attr", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1728 arg2
= (size_t) PyInt_AsLong(obj1
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1730 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCalendarDateAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 (arg1
)->SetAttr(arg2
,arg3
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1745 static PyObject
*_wrap_CalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1752 (char *) "self",(char *) "day", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1757 arg2
= (size_t) PyInt_AsLong(obj1
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 (arg1
)->SetHoliday(arg2
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1773 static PyObject
*_wrap_CalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1775 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1780 (char *) "self",(char *) "day", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1785 arg2
= (size_t) PyInt_AsLong(obj1
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 (arg1
)->ResetAttr(arg2
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1801 static PyObject
*_wrap_CalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1805 wxDateTime
*arg3
= (wxDateTime
*) NULL
;
1806 wxDateTime::WeekDay
*arg4
= (wxDateTime::WeekDay
*) NULL
;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1811 PyObject
* obj2
= 0 ;
1812 PyObject
* obj3
= 0 ;
1814 (char *) "self",(char *) "pos",(char *) "date",(char *) "wd", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
1824 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime__WeekDay
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (int)(arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= PyInt_FromLong((long)result
);
1843 static PyObject
*_wrap_CalendarCtrl_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1846 bool arg2
= (bool) True
;
1848 PyObject
* obj0
= 0 ;
1849 PyObject
* obj1
= 0 ;
1851 (char *) "self",(char *) "enable", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1857 arg2
= PyInt_AsLong(obj1
) ? true : false;
1858 if (PyErr_Occurred()) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (bool)(arg1
)->Enable(arg2
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= PyInt_FromLong((long)result
);
1874 static PyObject
*_wrap_CalendarCtrl_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxCalendarCtrl
*arg1
= (wxCalendarCtrl
*) 0 ;
1877 bool arg2
= (bool) True
;
1879 PyObject
* obj0
= 0 ;
1880 PyObject
* obj1
= 0 ;
1882 (char *) "self",(char *) "show", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCalendarCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1888 arg2
= PyInt_AsLong(obj1
) ? true : false;
1889 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 result
= (bool)(arg1
)->Show(arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 resultobj
= PyInt_FromLong((long)result
);
1905 static PyObject
* CalendarCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
1907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1908 SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
);
1910 return Py_BuildValue((char *)"");
1912 static PyMethodDef SwigMethods
[] = {
1913 { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1914 { (char *)"new_CalendarDateAttrBorder", (PyCFunction
) _wrap_new_CalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1915 { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1916 { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1917 { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1918 { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1919 { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1920 { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1921 { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1922 { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1923 { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1924 { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1925 { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1926 { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1927 { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1928 { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1929 { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1930 { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1931 { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1932 { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS
},
1933 { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1934 { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1935 { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1936 { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS
},
1937 { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1938 { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1939 { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1940 { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1941 { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1942 { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1943 { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1944 { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1945 { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS
| METH_KEYWORDS
},
1946 { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS
| METH_KEYWORDS
},
1947 { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1948 { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1949 { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1950 { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1951 { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1952 { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1953 { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1954 { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1955 { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1956 { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1957 { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1958 { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1959 { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1960 { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1961 { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1962 { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1963 { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1964 { (char *)"CalendarCtrl_Enable", (PyCFunction
) _wrap_CalendarCtrl_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1965 { (char *)"CalendarCtrl_Show", (PyCFunction
) _wrap_CalendarCtrl_Show
, METH_VARARGS
| METH_KEYWORDS
},
1966 { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS
},
1971 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
1973 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
1974 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
1976 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) {
1977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
1979 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
1980 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
1982 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
1983 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
1985 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
1986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
1988 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
1989 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
1991 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
1992 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
1994 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
1995 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
1997 static void *_p_wxSizerTo_p_wxObject(void *x
) {
1998 return (void *)((wxObject
*) ((wxSizer
*) x
));
2000 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2001 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2003 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
2004 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
2006 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2009 static void *_p_wxEventTo_p_wxObject(void *x
) {
2010 return (void *)((wxObject
*) ((wxEvent
*) x
));
2012 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2013 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2015 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2016 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2018 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2019 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2021 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2022 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2024 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2025 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2027 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2028 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2030 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2031 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2033 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2034 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2036 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2037 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2039 static void *_p_wxControlTo_p_wxObject(void *x
) {
2040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2042 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2043 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2045 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
2046 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
2048 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) {
2049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2051 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2052 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2054 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
2055 return (void *)((wxObject
*) ((wxClipboard
*) x
));
2057 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2058 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2060 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2061 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2063 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2066 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2067 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2069 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
2070 return (void *)((wxObject
*) ((wxToolTip
*) x
));
2072 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2073 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2075 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2076 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2078 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2081 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2082 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2084 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2085 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2087 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2088 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2090 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2091 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2093 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2094 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2096 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2097 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2099 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2102 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2105 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2108 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2111 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2114 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2117 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2118 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2120 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2123 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2126 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2129 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2130 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2132 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2135 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2136 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2138 static void *_p_wxImageTo_p_wxObject(void *x
) {
2139 return (void *)((wxObject
*) ((wxImage
*) x
));
2141 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2142 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2144 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
2145 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
2147 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
2148 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
2150 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2153 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2154 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2156 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2157 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2159 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2160 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2162 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2165 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2168 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
2169 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
2171 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2172 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2174 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2177 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2178 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2180 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2181 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2183 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2184 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2186 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2187 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2189 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2190 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2192 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
2193 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
2195 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2198 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2199 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2201 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2202 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2204 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2205 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2207 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2210 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
2211 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
2213 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2216 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2219 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2220 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2222 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
2223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
2225 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2226 return (void *)((wxWindow
*) ((wxControl
*) x
));
2228 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2229 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2231 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2232 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2234 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) {
2235 return (void *)((wxWindow
*) (wxControl
*) ((wxCalendarCtrl
*) x
));
2237 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2238 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2240 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2241 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2243 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2244 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2246 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2247 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2249 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2250 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2252 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2253 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2255 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) {
2256 return (void *)((wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2258 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2259 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2261 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2262 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2264 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2267 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2268 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2270 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2273 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2274 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2276 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
2277 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
2279 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2280 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2282 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2283 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2285 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2286 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2288 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2289 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2291 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
2292 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
2294 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) {
2295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCalendarCtrl
*) x
));
2297 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
2298 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
2300 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) {
2301 return (void *)((wxControl
*) ((wxCalendarCtrl
*) x
));
2303 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2306 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2307 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2309 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2310 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2312 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2313 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2315 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2316 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2318 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2319 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2321 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
2322 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
2324 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) {
2325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCalendarEvent
*) x
));
2327 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2328 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2330 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2333 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2334 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2336 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2339 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
2340 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
2342 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2343 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2345 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2348 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2349 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2351 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2352 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2354 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2355 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2357 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2358 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2360 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2361 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2363 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2364 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2366 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2367 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2369 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2370 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2372 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2373 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2375 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2376 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2378 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2379 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2381 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2382 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2384 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2385 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2387 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2388 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2390 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2391 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2393 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2396 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
2397 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
2399 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2400 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2402 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2403 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2405 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2408 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2411 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2412 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2414 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2415 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2417 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2418 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2420 static swig_type_info _swigt__p_wxDateTime__WeekDay
[] = {{"_p_wxDateTime__WeekDay", 0, "wxDateTime::WeekDay *", 0},{"_p_wxDateTime__WeekDay"},{0}};
2421 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
2422 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
2423 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0},{"_p_wxCalendarEvent"},{0}};
2424 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0},{"_p_wxCalendarDateAttr"},{0}};
2425 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}};
2426 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}};
2427 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
2428 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}};
2429 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
2430 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
2431 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}};
2432 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0},{"_p_wxCalendarCtrl"},{0}};
2433 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}};
2435 static swig_type_info
*swig_types_initial
[] = {
2436 _swigt__p_wxDateTime__WeekDay
,
2439 _swigt__p_wxCalendarEvent
,
2440 _swigt__p_wxCalendarDateAttr
,
2442 _swigt__p_wxCommandEvent
,
2444 _swigt__p_wxEvtHandler
,
2446 _swigt__p_wxDateTime
,
2447 _swigt__p_wxControl
,
2448 _swigt__p_wxCalendarCtrl
,
2454 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2456 static swig_const_info swig_const_table
[] = {
2457 { SWIG_PY_INT
, (char *)"CAL_SUNDAY_FIRST", (long) wxCAL_SUNDAY_FIRST
, 0, 0, 0},
2458 { SWIG_PY_INT
, (char *)"CAL_MONDAY_FIRST", (long) wxCAL_MONDAY_FIRST
, 0, 0, 0},
2459 { SWIG_PY_INT
, (char *)"CAL_SHOW_HOLIDAYS", (long) wxCAL_SHOW_HOLIDAYS
, 0, 0, 0},
2460 { SWIG_PY_INT
, (char *)"CAL_NO_YEAR_CHANGE", (long) wxCAL_NO_YEAR_CHANGE
, 0, 0, 0},
2461 { SWIG_PY_INT
, (char *)"CAL_NO_MONTH_CHANGE", (long) wxCAL_NO_MONTH_CHANGE
, 0, 0, 0},
2462 { SWIG_PY_INT
, (char *)"CAL_SEQUENTIAL_MONTH_SELECTION", (long) wxCAL_SEQUENTIAL_MONTH_SELECTION
, 0, 0, 0},
2463 { SWIG_PY_INT
, (char *)"CAL_SHOW_SURROUNDING_WEEKS", (long) wxCAL_SHOW_SURROUNDING_WEEKS
, 0, 0, 0},
2464 { SWIG_PY_INT
, (char *)"CAL_HITTEST_NOWHERE", (long) wxCAL_HITTEST_NOWHERE
, 0, 0, 0},
2465 { SWIG_PY_INT
, (char *)"CAL_HITTEST_HEADER", (long) wxCAL_HITTEST_HEADER
, 0, 0, 0},
2466 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DAY", (long) wxCAL_HITTEST_DAY
, 0, 0, 0},
2467 { SWIG_PY_INT
, (char *)"CAL_HITTEST_INCMONTH", (long) wxCAL_HITTEST_INCMONTH
, 0, 0, 0},
2468 { SWIG_PY_INT
, (char *)"CAL_HITTEST_DECMONTH", (long) wxCAL_HITTEST_DECMONTH
, 0, 0, 0},
2469 { SWIG_PY_INT
, (char *)"CAL_HITTEST_SURROUNDING_WEEK", (long) wxCAL_HITTEST_SURROUNDING_WEEK
, 0, 0, 0},
2470 { SWIG_PY_INT
, (char *)"CAL_BORDER_NONE", (long) wxCAL_BORDER_NONE
, 0, 0, 0},
2471 { SWIG_PY_INT
, (char *)"CAL_BORDER_SQUARE", (long) wxCAL_BORDER_SQUARE
, 0, 0, 0},
2472 { SWIG_PY_INT
, (char *)"CAL_BORDER_ROUND", (long) wxCAL_BORDER_ROUND
, 0, 0, 0},
2473 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DOUBLECLICKED", (long) wxEVT_CALENDAR_DOUBLECLICKED
, 0, 0, 0},
2474 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_SEL_CHANGED", (long) wxEVT_CALENDAR_SEL_CHANGED
, 0, 0, 0},
2475 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_DAY_CHANGED", (long) wxEVT_CALENDAR_DAY_CHANGED
, 0, 0, 0},
2476 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_MONTH_CHANGED", (long) wxEVT_CALENDAR_MONTH_CHANGED
, 0, 0, 0},
2477 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_YEAR_CHANGED", (long) wxEVT_CALENDAR_YEAR_CHANGED
, 0, 0, 0},
2478 { SWIG_PY_INT
, (char *)"wxEVT_CALENDAR_WEEKDAY_CLICKED", (long) wxEVT_CALENDAR_WEEKDAY_CLICKED
, 0, 0, 0},
2488 SWIGEXPORT(void) SWIG_init(void) {
2489 static PyObject
*SWIG_globals
= 0;
2490 static int typeinit
= 0;
2493 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
2494 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
2495 d
= PyModule_GetDict(m
);
2498 for (i
= 0; swig_types_initial
[i
]; i
++) {
2499 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
2503 SWIG_InstallConstants(d
,swig_const_table
);
2505 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
));
2506 PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
));
2507 PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
));
2508 PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
));
2509 PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
));
2510 PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
));