1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_NOINCLUDE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  33 /*************************************************************** -*- c -*- 
  34  * python/precommon.swg 
  36  * Rename all exported symbols from common.swg, to avoid symbol 
  37  * clashes if multiple interpreters are included 
  39  ************************************************************************/ 
  41 #define SWIG_TypeRegister    SWIG_Python_TypeRegister 
  42 #define SWIG_TypeCheck       SWIG_Python_TypeCheck 
  43 #define SWIG_TypeCast        SWIG_Python_TypeCast 
  44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast 
  45 #define SWIG_TypeName        SWIG_Python_TypeName 
  46 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  47 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  48 #define SWIG_PackData        SWIG_Python_PackData  
  49 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  52 /*********************************************************************** 
  53  * common.swg for wxPython 
  55  * Include only the function prototypes and such from SWIG's common.swg, 
  56  * but not the runtime functions themselves.  This helps keep the 
  57  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  60  ************************************************************************/ 
  64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  65 #  if defined(_MSC_VER) || defined(__GNUC__) 
  66 #    if defined(STATIC_LINKED) 
  67 #      define SWIGEXPORT(a) a 
  68 #      define SWIGIMPORT(a) extern a 
  70 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  71 #      define SWIGIMPORT(a) extern a 
  74 #    if defined(__BORLANDC__) 
  75 #      define SWIGEXPORT(a) a _export 
  76 #      define SWIGIMPORT(a) a _export 
  78 #      define SWIGEXPORT(a) a 
  79 #      define SWIGIMPORT(a) a 
  83 #  define SWIGEXPORT(a) a 
  84 #  define SWIGIMPORT(a) a 
  88 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  90 #  define SWIGRUNTIME(a) static a 
  97 typedef void *(*swig_converter_func
)(void *); 
  98 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 100 typedef struct swig_type_info 
{ 
 102   swig_converter_func     converter
; 
 105   swig_dycast_func        dcast
; 
 106   struct swig_type_info  
*next
; 
 107   struct swig_type_info  
*prev
; 
 111 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 113 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 114 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 115 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 116 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 117 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 118 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 119 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 126 /*********************************************************************** 
 127  * pyrun.swg for wxPython 
 129  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 130  * but not the runtime functions themselves.  This helps keep the 
 131  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 134  ************************************************************************/ 
 142 #define SWIG_PY_INT     1 
 143 #define SWIG_PY_FLOAT   2 
 144 #define SWIG_PY_STRING  3 
 145 #define SWIG_PY_POINTER 4 
 146 #define SWIG_PY_BINARY  5 
 148 /* Flags for pointer conversion */ 
 150 #define SWIG_POINTER_EXCEPTION     0x1 
 151 #define SWIG_POINTER_DISOWN        0x2 
 153 /* Exception handling in wrappers */ 
 154 #define SWIG_fail   goto fail 
 156 /* Constant information structure */ 
 157 typedef struct swig_const_info 
{ 
 163     swig_type_info 
**ptype
; 
 166 /* Common SWIG API */ 
 167 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 168   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 169 #define SWIG_NewPointerObj(p, type, flags) \ 
 170   SWIG_Python_NewPointerObj(p, type, flags) 
 171 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 172   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 174 /* Python-specific SWIG API */ 
 175 #define SWIG_newvarlink() \ 
 176   SWIG_Python_newvarlink() 
 177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 178   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 180   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 181 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 182   SWIG_Python_NewPackedObj(ptr, sz, type) 
 183 #define SWIG_InstallConstants(d, constants) \ 
 184   SWIG_Python_InstallConstants(d, constants) 
 186 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 188 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 189 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 190 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 191 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 192 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 193 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 194 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 195 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 198 /* Contract support */ 
 200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 207 /* -------- TYPES TABLE (BEGIN) -------- */ 
 209 #define  SWIGTYPE_p_wxControl swig_types[0]  
 210 #define  SWIGTYPE_p_wxDateTime swig_types[1]  
 211 #define  SWIGTYPE_p_wxWindow swig_types[2]  
 212 #define  SWIGTYPE_p_wxFont swig_types[3]  
 213 #define  SWIGTYPE_p_wxEvent swig_types[4]  
 214 #define  SWIGTYPE_p_wxObject swig_types[5]  
 215 #define  SWIGTYPE_p_wxEvtHandler swig_types[6]  
 216 #define  SWIGTYPE_p_char swig_types[7]  
 217 #define  SWIGTYPE_p_wxCalendarDateAttr swig_types[8]  
 218 #define  SWIGTYPE_p_wxColour swig_types[9]  
 219 #define  SWIGTYPE_p_wxCalendarEvent swig_types[10]  
 220 #define  SWIGTYPE_p_wxCommandEvent swig_types[11]  
 221 #define  SWIGTYPE_p_wxCalendarCtrl swig_types[12]  
 222 static swig_type_info 
*swig_types
[14]; 
 224 /* -------- TYPES TABLE (END) -------- */ 
 227 /*----------------------------------------------- 
 228               @(target):= _calendar.so 
 229   ------------------------------------------------*/ 
 230 #define SWIG_init    init_calendar 
 232 #define SWIG_name    "_calendar" 
 234 /* Auxiliar swig  macros */ 
 237 #define SWIGSTATICINLINE(a) static inline a 
 238 #define SWIGSTATIC(a) static a 
 239 #define swig_new_array(type, size) (new type[(size)]) 
 240 #define swig_delete_array(cptr) delete[] cptr 
 241 #define swig_const_cast(type,a) const_cast<type>(a) 
 242 #define swig_static_cast(type,a) static_cast<type>(a) 
 243 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) 
 245 #ifdef HAVE_NUMERIC_CAST 
 246 #define swig_numeric_cast(type,a) numeric_cast<type>(a) 
 248 #define swig_numeric_cast(type,a) static_cast<type>(a) 
 253 #define SWIGSTATICINLINE(a) static a 
 254 #define SWIGSTATIC(a) static a 
 255 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) 
 256 #define swig_delete_array(cptr) free((char*)cptr) 
 257 #define swig_const_cast(type,a) (type)(a) 
 258 #define swig_static_cast(type,a) (type)(a) 
 259 #define swig_reinterpret_cast(type,a) (type)(a) 
 260 #define swig_numeric_cast(type,a) (type)(a) 
 262 #endif /* __cplusplus */ 
 265 #define SWIG_FromSignedChar     PyInt_FromLong 
 266 #define SWIG_FromUnsignedChar   PyInt_FromLong 
 267 #define SWIG_FromShort         PyInt_FromLong 
 268 #define SWIG_FromUnsignedShort  PyInt_FromLong 
 269 #define SWIG_FromInt           PyInt_FromLong 
 270 #define SWIG_FromLong          PyInt_FromLong 
 271 #define SWIG_FromFloat         PyFloat_FromDouble 
 272 #define SWIG_FromDouble        PyFloat_FromDouble 
 273 #define SWIG_FromFloat         PyFloat_FromDouble 
 274 #define SWIG_FromDouble        PyFloat_FromDouble 
 277 #include "wx/wxPython/wxPython.h" 
 278 #include "wx/wxPython/pyclasses.h" 
 280 #include <wx/calctrl.h> 
 286 SWIGSTATICINLINE(long) 
 287 SWIG_CheckLongInRange(long value
, const char* type
, 
 288                       long min_value
, long max_value
) 
 290   if (!PyErr_Occurred()) { 
 291     if (value 
< min_value
) { 
 293         PyString_FromFormat("value %ld is less than '%s' minimum %ld",  
 294                             value
, type
, min_value
); 
 296       PyErr_SetObject(PyExc_OverflowError
, err
); 
 298     } else if (value 
> max_value
) { 
 300         PyString_FromFormat("value %ld is greater than '%s' maximum %ld",  
 301                             value
, type
, max_value
); 
 302       PyErr_SetObject(PyExc_OverflowError
, err
); 
 310 SWIGSTATICINLINE(long) 
 311 SWIG_AsLong(PyObject 
* obj
) 
 313     if (PyNumber_Check(obj
)) 
 314         return PyInt_AsLong(obj
); 
 316         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 317                                                obj
->ob_type
->tp_name
); 
 318         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 325 #if INT_MAX != LONG_MAX 
 326 SWIGSTATICINLINE(int) 
 327 SWIG_AsInt(PyObject 
*obj
) 
 329   return swig_numeric_cast(int, 
 330     SWIG_CheckLongInRange(SWIG_AsLong(obj
), 
 331                           "int", INT_MIN
, INT_MAX
)); 
 334 #define SWIG_AsInt SWIG_AsLong 
 338 SWIGSTATICINLINE(int) 
 339 SWIG_CheckInt(PyObject
* obj
) 
 342   if (PyErr_Occurred()) { 
 351 SWIGSTATICINLINE(bool) 
 352 SWIG_AsBool(PyObject 
*obj
) 
 354   return PyObject_IsTrue(obj
) ? true : false; 
 358 SWIGSTATICINLINE(int) 
 359 SWIG_CheckBool(PyObject
* obj
) 
 362   if (PyErr_Occurred()) { 
 370  static const wxString 
wxPyCalendarNameStr(wxCalendarNameStr
);  
 372 SWIGSTATICINLINE(int) 
 373 SWIG_CheckLong(PyObject
* obj
) 
 376   if (PyErr_Occurred()) { 
 385 SWIGSTATICINLINE(unsigned long) 
 386 SWIG_AsUnsignedLong(PyObject 
* obj
)  
 388   if (PyLong_Check(obj
)) { 
 389     return PyLong_AsUnsignedLong(obj
); 
 391     long i 
= SWIG_AsLong(obj
); 
 392     if ( !PyErr_Occurred() && (i 
< 0)) { 
 393       PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type"); 
 400 SWIGSTATICINLINE(int) 
 401 SWIG_CheckUnsignedLong(PyObject
* obj
) 
 403   SWIG_AsUnsignedLong(obj
); 
 404   if (PyErr_Occurred()) { 
 412 PyObject 
*wxCalendarCtrl_HitTest(wxCalendarCtrl 
*self
,wxPoint 
const &pos
){ 
 413             wxDateTime
* date 
= new wxDateTime
; 
 414             wxDateTime::WeekDay wd
; 
 415             wxCalendarHitTestResult result 
= self
->HitTest(pos
, date
, &wd
); 
 416             bool blocked 
= wxPyBeginBlockThreads(); 
 417             PyObject
* tup 
= PyTuple_New(3); 
 418             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(result
)); 
 419             PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(date
, wxT("wxDateTime"), 1)); 
 420             PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(wd
)); 
 421             wxPyEndBlockThreads(blocked
); 
 427 static PyObject 
*_wrap_new_CalendarDateAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 429     wxColour 
const &arg1_defvalue 
= wxNullColour 
; 
 430     wxColour 
*arg1 
= (wxColour 
*) &arg1_defvalue 
; 
 431     wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
 432     wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
 433     wxColour 
const &arg3_defvalue 
= wxNullColour 
; 
 434     wxColour 
*arg3 
= (wxColour 
*) &arg3_defvalue 
; 
 435     wxFont 
const &arg4_defvalue 
= wxNullFont 
; 
 436     wxFont 
*arg4 
= (wxFont 
*) &arg4_defvalue 
; 
 437     int arg5 
= (int) wxCAL_BORDER_NONE 
; 
 438     wxCalendarDateAttr 
*result
; 
 442     PyObject 
* obj0 
= 0 ; 
 443     PyObject 
* obj1 
= 0 ; 
 444     PyObject 
* obj2 
= 0 ; 
 445     PyObject 
* obj3 
= 0 ; 
 446     PyObject 
* obj4 
= 0 ; 
 448         (char *) "colText",(char *) "colBack",(char *) "colBorder",(char *) "font",(char *) "border", NULL 
 
 451     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_CalendarDateAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
; 
 455             if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
; 
 461             if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
 467             if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
 471         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
, 
 472         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
 475             PyErr_SetString(PyExc_TypeError
,"null reference"); 
 480         arg5 
= (wxCalendarDateBorder
) SWIG_AsInt(obj4
);  
 481         if (PyErr_Occurred()) SWIG_fail
; 
 484         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 485         result 
= (wxCalendarDateAttr 
*)new wxCalendarDateAttr((wxColour 
const &)*arg1
,(wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
,(wxFont 
const &)*arg4
,(wxCalendarDateBorder 
)arg5
); 
 487         wxPyEndAllowThreads(__tstate
); 
 488         if (PyErr_Occurred()) SWIG_fail
; 
 490     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 1); 
 497 static PyObject 
*_wrap_CalendarDateAttr_SetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 499     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 502     PyObject 
* obj0 
= 0 ; 
 503     PyObject 
* obj1 
= 0 ; 
 505         (char *) "self",(char *) "colText", NULL 
 
 508     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
 509     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 510     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 513         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
 516         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 517         (arg1
)->SetTextColour((wxColour 
const &)*arg2
); 
 519         wxPyEndAllowThreads(__tstate
); 
 520         if (PyErr_Occurred()) SWIG_fail
; 
 522     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 529 static PyObject 
*_wrap_CalendarDateAttr_SetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 531     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 534     PyObject 
* obj0 
= 0 ; 
 535     PyObject 
* obj1 
= 0 ; 
 537         (char *) "self",(char *) "colBack", NULL 
 
 540     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
 541     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 542     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 545         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
 548         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 549         (arg1
)->SetBackgroundColour((wxColour 
const &)*arg2
); 
 551         wxPyEndAllowThreads(__tstate
); 
 552         if (PyErr_Occurred()) SWIG_fail
; 
 554     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 561 static PyObject 
*_wrap_CalendarDateAttr_SetBorderColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 563     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 566     PyObject 
* obj0 
= 0 ; 
 567     PyObject 
* obj1 
= 0 ; 
 569         (char *) "self",(char *) "col", NULL 
 
 572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorderColour",kwnames
,&obj0
,&obj1
)) goto fail
; 
 573     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 574     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 577         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
 580         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 581         (arg1
)->SetBorderColour((wxColour 
const &)*arg2
); 
 583         wxPyEndAllowThreads(__tstate
); 
 584         if (PyErr_Occurred()) SWIG_fail
; 
 586     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 593 static PyObject 
*_wrap_CalendarDateAttr_SetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 595     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 597     PyObject 
* obj0 
= 0 ; 
 598     PyObject 
* obj1 
= 0 ; 
 600         (char *) "self",(char *) "font", NULL 
 
 603     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
; 
 604     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 605     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 606     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
, 
 607     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
 610         PyErr_SetString(PyExc_TypeError
,"null reference"); 
 614         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 615         (arg1
)->SetFont((wxFont 
const &)*arg2
); 
 617         wxPyEndAllowThreads(__tstate
); 
 618         if (PyErr_Occurred()) SWIG_fail
; 
 620     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 627 static PyObject 
*_wrap_CalendarDateAttr_SetBorder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 629     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 631     PyObject 
* obj0 
= 0 ; 
 632     PyObject 
* obj1 
= 0 ; 
 634         (char *) "self",(char *) "border", NULL 
 
 637     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
; 
 638     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 639     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 640     arg2 
= (wxCalendarDateBorder
) SWIG_AsInt(obj1
);  
 641     if (PyErr_Occurred()) SWIG_fail
; 
 643         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 644         (arg1
)->SetBorder((wxCalendarDateBorder 
)arg2
); 
 646         wxPyEndAllowThreads(__tstate
); 
 647         if (PyErr_Occurred()) SWIG_fail
; 
 649     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 656 static PyObject 
*_wrap_CalendarDateAttr_SetHoliday(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 658     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 660     PyObject 
* obj0 
= 0 ; 
 661     PyObject 
* obj1 
= 0 ; 
 663         (char *) "self",(char *) "holiday", NULL 
 
 666     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarDateAttr_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
; 
 667     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 668     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 669     arg2 
= (bool) SWIG_AsBool(obj1
);  
 670     if (PyErr_Occurred()) SWIG_fail
; 
 672         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 673         (arg1
)->SetHoliday(arg2
); 
 675         wxPyEndAllowThreads(__tstate
); 
 676         if (PyErr_Occurred()) SWIG_fail
; 
 678     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
 685 static PyObject 
*_wrap_CalendarDateAttr_HasTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 687     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 689     PyObject 
* obj0 
= 0 ; 
 691         (char *) "self", NULL 
 
 694     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasTextColour",kwnames
,&obj0
)) goto fail
; 
 695     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 696     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 698         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 699         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->HasTextColour(); 
 701         wxPyEndAllowThreads(__tstate
); 
 702         if (PyErr_Occurred()) SWIG_fail
; 
 705         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 713 static PyObject 
*_wrap_CalendarDateAttr_HasBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 715     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 717     PyObject 
* obj0 
= 0 ; 
 719         (char *) "self", NULL 
 
 722     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
; 
 723     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 724     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 726         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 727         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->HasBackgroundColour(); 
 729         wxPyEndAllowThreads(__tstate
); 
 730         if (PyErr_Occurred()) SWIG_fail
; 
 733         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 741 static PyObject 
*_wrap_CalendarDateAttr_HasBorderColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 743     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 745     PyObject 
* obj0 
= 0 ; 
 747         (char *) "self", NULL 
 
 750     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorderColour",kwnames
,&obj0
)) goto fail
; 
 751     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 752     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 754         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 755         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->HasBorderColour(); 
 757         wxPyEndAllowThreads(__tstate
); 
 758         if (PyErr_Occurred()) SWIG_fail
; 
 761         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 769 static PyObject 
*_wrap_CalendarDateAttr_HasFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 771     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 773     PyObject 
* obj0 
= 0 ; 
 775         (char *) "self", NULL 
 
 778     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasFont",kwnames
,&obj0
)) goto fail
; 
 779     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 780     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 782         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 783         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->HasFont(); 
 785         wxPyEndAllowThreads(__tstate
); 
 786         if (PyErr_Occurred()) SWIG_fail
; 
 789         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 797 static PyObject 
*_wrap_CalendarDateAttr_HasBorder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 799     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 801     PyObject 
* obj0 
= 0 ; 
 803         (char *) "self", NULL 
 
 806     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_HasBorder",kwnames
,&obj0
)) goto fail
; 
 807     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 808     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 810         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 811         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->HasBorder(); 
 813         wxPyEndAllowThreads(__tstate
); 
 814         if (PyErr_Occurred()) SWIG_fail
; 
 817         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 825 static PyObject 
*_wrap_CalendarDateAttr_IsHoliday(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 827     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 829     PyObject 
* obj0 
= 0 ; 
 831         (char *) "self", NULL 
 
 834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_IsHoliday",kwnames
,&obj0
)) goto fail
; 
 835     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 836     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 838         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 839         result 
= (bool)((wxCalendarDateAttr 
const *)arg1
)->IsHoliday(); 
 841         wxPyEndAllowThreads(__tstate
); 
 842         if (PyErr_Occurred()) SWIG_fail
; 
 845         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
 853 static PyObject 
*_wrap_CalendarDateAttr_GetTextColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 855     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 857     PyObject 
* obj0 
= 0 ; 
 859         (char *) "self", NULL 
 
 862     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetTextColour",kwnames
,&obj0
)) goto fail
; 
 863     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 864     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 866         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 867         result 
= ((wxCalendarDateAttr 
const *)arg1
)->GetTextColour(); 
 869         wxPyEndAllowThreads(__tstate
); 
 870         if (PyErr_Occurred()) SWIG_fail
; 
 873         wxColour 
* resultptr
; 
 874         resultptr 
= new wxColour((wxColour 
&) result
); 
 875         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
 883 static PyObject 
*_wrap_CalendarDateAttr_GetBackgroundColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 885     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 887     PyObject 
* obj0 
= 0 ; 
 889         (char *) "self", NULL 
 
 892     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
; 
 893     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 894     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 896         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 897         result 
= ((wxCalendarDateAttr 
const *)arg1
)->GetBackgroundColour(); 
 899         wxPyEndAllowThreads(__tstate
); 
 900         if (PyErr_Occurred()) SWIG_fail
; 
 903         wxColour 
* resultptr
; 
 904         resultptr 
= new wxColour((wxColour 
&) result
); 
 905         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
 913 static PyObject 
*_wrap_CalendarDateAttr_GetBorderColour(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 915     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 917     PyObject 
* obj0 
= 0 ; 
 919         (char *) "self", NULL 
 
 922     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorderColour",kwnames
,&obj0
)) goto fail
; 
 923     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 924     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 926         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 927         result 
= ((wxCalendarDateAttr 
const *)arg1
)->GetBorderColour(); 
 929         wxPyEndAllowThreads(__tstate
); 
 930         if (PyErr_Occurred()) SWIG_fail
; 
 933         wxColour 
* resultptr
; 
 934         resultptr 
= new wxColour((wxColour 
&) result
); 
 935         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
 943 static PyObject 
*_wrap_CalendarDateAttr_GetFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 945     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 947     PyObject 
* obj0 
= 0 ; 
 949         (char *) "self", NULL 
 
 952     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetFont",kwnames
,&obj0
)) goto fail
; 
 953     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 954     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 957         result 
= ((wxCalendarDateAttr 
const *)arg1
)->GetFont(); 
 959         wxPyEndAllowThreads(__tstate
); 
 960         if (PyErr_Occurred()) SWIG_fail
; 
 964         resultptr 
= new wxFont((wxFont 
&) result
); 
 965         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1); 
 973 static PyObject 
*_wrap_CalendarDateAttr_GetBorder(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 975     wxCalendarDateAttr 
*arg1 
= (wxCalendarDateAttr 
*) 0 ; 
 977     PyObject 
* obj0 
= 0 ; 
 979         (char *) "self", NULL 
 
 982     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarDateAttr_GetBorder",kwnames
,&obj0
)) goto fail
; 
 983     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarDateAttr
, 
 984     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
 986         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 987         result 
= (int)((wxCalendarDateAttr 
const *)arg1
)->GetBorder(); 
 989         wxPyEndAllowThreads(__tstate
); 
 990         if (PyErr_Occurred()) SWIG_fail
; 
 992     resultobj 
= SWIG_FromInt((int)result
); 
 999 static PyObject 
* CalendarDateAttr_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1001     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1002     SWIG_TypeClientData(SWIGTYPE_p_wxCalendarDateAttr
, obj
); 
1004     return Py_BuildValue((char *)""); 
1006 static PyObject 
*_wrap_new_CalendarEvent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1007     PyObject 
*resultobj
; 
1008     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1010     wxCalendarEvent 
*result
; 
1011     PyObject 
* obj0 
= 0 ; 
1012     PyObject 
* obj1 
= 0 ; 
1014         (char *) "cal",(char *) "type", NULL 
 
1017     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_CalendarEvent",kwnames
,&obj0
,&obj1
)) goto fail
; 
1018     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1019     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1020     arg2 
= (wxEventType
) SWIG_AsInt(obj1
);  
1021     if (PyErr_Occurred()) SWIG_fail
; 
1023         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1024         result 
= (wxCalendarEvent 
*)new wxCalendarEvent(arg1
,arg2
); 
1026         wxPyEndAllowThreads(__tstate
); 
1027         if (PyErr_Occurred()) SWIG_fail
; 
1029     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarEvent
, 1); 
1036 static PyObject 
*_wrap_CalendarEvent_GetDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1037     PyObject 
*resultobj
; 
1038     wxCalendarEvent 
*arg1 
= (wxCalendarEvent 
*) 0 ; 
1040     PyObject 
* obj0 
= 0 ; 
1042         (char *) "self", NULL 
 
1045     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetDate",kwnames
,&obj0
)) goto fail
; 
1046     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
, 
1047     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1049         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1050         result 
= ((wxCalendarEvent 
const *)arg1
)->GetDate(); 
1052         wxPyEndAllowThreads(__tstate
); 
1053         if (PyErr_Occurred()) SWIG_fail
; 
1056         wxDateTime 
* resultptr
; 
1057         resultptr 
= new wxDateTime((wxDateTime 
&) result
); 
1058         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1); 
1066 static PyObject 
*_wrap_CalendarEvent_SetDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1067     PyObject 
*resultobj
; 
1068     wxCalendarEvent 
*arg1 
= (wxCalendarEvent 
*) 0 ; 
1069     wxDateTime 
*arg2 
= 0 ; 
1070     PyObject 
* obj0 
= 0 ; 
1071     PyObject 
* obj1 
= 0 ; 
1073         (char *) "self",(char *) "date", NULL 
 
1076     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
1077     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
, 
1078     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1079     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
1080     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1083         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1087         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1088         (arg1
)->SetDate((wxDateTime 
const &)*arg2
); 
1090         wxPyEndAllowThreads(__tstate
); 
1091         if (PyErr_Occurred()) SWIG_fail
; 
1093     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1100 static PyObject 
*_wrap_CalendarEvent_SetWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1101     PyObject 
*resultobj
; 
1102     wxCalendarEvent 
*arg1 
= (wxCalendarEvent 
*) 0 ; 
1104     PyObject 
* obj0 
= 0 ; 
1105     PyObject 
* obj1 
= 0 ; 
1107         (char *) "self",(char *) "wd", NULL 
 
1110     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarEvent_SetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
; 
1111     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
, 
1112     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1113     arg2 
= (wxDateTime::WeekDay 
const) SWIG_AsInt(obj1
);  
1114     if (PyErr_Occurred()) SWIG_fail
; 
1116         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1117         (arg1
)->SetWeekDay((wxDateTime::WeekDay 
)arg2
); 
1119         wxPyEndAllowThreads(__tstate
); 
1120         if (PyErr_Occurred()) SWIG_fail
; 
1122     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1129 static PyObject 
*_wrap_CalendarEvent_GetWeekDay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1130     PyObject 
*resultobj
; 
1131     wxCalendarEvent 
*arg1 
= (wxCalendarEvent 
*) 0 ; 
1133     PyObject 
* obj0 
= 0 ; 
1135         (char *) "self", NULL 
 
1138     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarEvent_GetWeekDay",kwnames
,&obj0
)) goto fail
; 
1139     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarEvent
, 
1140     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1142         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1143         result 
= (int)((wxCalendarEvent 
const *)arg1
)->GetWeekDay(); 
1145         wxPyEndAllowThreads(__tstate
); 
1146         if (PyErr_Occurred()) SWIG_fail
; 
1148     resultobj 
= SWIG_FromInt((int)result
); 
1155 static PyObject 
* CalendarEvent_swigregister(PyObject 
*self
, PyObject 
*args
) { 
1157     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1158     SWIG_TypeClientData(SWIGTYPE_p_wxCalendarEvent
, obj
); 
1160     return Py_BuildValue((char *)""); 
1162 static int _wrap_CalendarNameStr_set(PyObject 
*_val
) { 
1163     PyErr_SetString(PyExc_TypeError
,"Variable CalendarNameStr is read-only."); 
1168 static PyObject 
*_wrap_CalendarNameStr_get() { 
1173         pyobj 
= PyUnicode_FromWideChar((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len()); 
1175         pyobj 
= PyString_FromStringAndSize((&wxPyCalendarNameStr
)->c_str(), (&wxPyCalendarNameStr
)->Len()); 
1182 static PyObject 
*_wrap_new_CalendarCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1183     PyObject 
*resultobj
; 
1184     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
1185     int arg2 
= (int) -1 ; 
1186     wxDateTime 
const &arg3_defvalue 
= wxDefaultDateTime 
; 
1187     wxDateTime 
*arg3 
= (wxDateTime 
*) &arg3_defvalue 
; 
1188     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
1189     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
1190     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
1191     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
1192     long arg6 
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS 
; 
1193     wxString 
const &arg7_defvalue 
= wxPyCalendarNameStr 
; 
1194     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
1195     wxCalendarCtrl 
*result
; 
1198     bool temp7 
= False 
; 
1199     PyObject 
* obj0 
= 0 ; 
1200     PyObject 
* obj1 
= 0 ; 
1201     PyObject 
* obj2 
= 0 ; 
1202     PyObject 
* obj3 
= 0 ; 
1203     PyObject 
* obj4 
= 0 ; 
1204     PyObject 
* obj5 
= 0 ; 
1205     PyObject 
* obj6 
= 0 ; 
1207         (char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
1210     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_CalendarCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
1211     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
1212     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1214         arg2 
= (int) SWIG_AsInt(obj1
);  
1215         if (PyErr_Occurred()) SWIG_fail
; 
1218         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
1219         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1222             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1229             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
1235             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
1239         arg6 
= (long) SWIG_AsLong(obj5
);  
1240         if (PyErr_Occurred()) SWIG_fail
; 
1244             arg7 
= wxString_in_helper(obj6
); 
1245             if (arg7 
== NULL
) SWIG_fail
; 
1250         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1251         result 
= (wxCalendarCtrl 
*)new wxCalendarCtrl(arg1
,arg2
,(wxDateTime 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
1253         wxPyEndAllowThreads(__tstate
); 
1254         if (PyErr_Occurred()) SWIG_fail
; 
1256     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1); 
1271 static PyObject 
*_wrap_new_PreCalendarCtrl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1272     PyObject 
*resultobj
; 
1273     wxCalendarCtrl 
*result
; 
1278     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCalendarCtrl",kwnames
)) goto fail
; 
1280         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1281         result 
= (wxCalendarCtrl 
*)new wxCalendarCtrl(); 
1283         wxPyEndAllowThreads(__tstate
); 
1284         if (PyErr_Occurred()) SWIG_fail
; 
1286     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarCtrl
, 1); 
1293 static PyObject 
*_wrap_CalendarCtrl_Create(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1294     PyObject 
*resultobj
; 
1295     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1296     wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
1298     wxDateTime 
const &arg4_defvalue 
= wxDefaultDateTime 
; 
1299     wxDateTime 
*arg4 
= (wxDateTime 
*) &arg4_defvalue 
; 
1300     wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
1301     wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
1302     wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
1303     wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
1304     long arg7 
= (long) wxCAL_SHOW_HOLIDAYS
|wxWANTS_CHARS 
; 
1305     wxString 
const &arg8_defvalue 
= wxPyCalendarNameStr 
; 
1306     wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
1310     bool temp8 
= False 
; 
1311     PyObject 
* obj0 
= 0 ; 
1312     PyObject 
* obj1 
= 0 ; 
1313     PyObject 
* obj2 
= 0 ; 
1314     PyObject 
* obj3 
= 0 ; 
1315     PyObject 
* obj4 
= 0 ; 
1316     PyObject 
* obj5 
= 0 ; 
1317     PyObject 
* obj6 
= 0 ; 
1318     PyObject 
* obj7 
= 0 ; 
1320         (char *) "self",(char *) "parent",(char *) "id",(char *) "date",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
1323     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:CalendarCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
; 
1324     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1325     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1326     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
, 
1327     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1328     arg3 
= (int) SWIG_AsInt(obj2
);  
1329     if (PyErr_Occurred()) SWIG_fail
; 
1331         if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
, 
1332         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1335             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1342             if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
1348             if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
1352         arg7 
= (long) SWIG_AsLong(obj6
);  
1353         if (PyErr_Occurred()) SWIG_fail
; 
1357             arg8 
= wxString_in_helper(obj7
); 
1358             if (arg8 
== NULL
) SWIG_fail
; 
1363         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1364         result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
1366         wxPyEndAllowThreads(__tstate
); 
1367         if (PyErr_Occurred()) SWIG_fail
; 
1370         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1386 static PyObject 
*_wrap_CalendarCtrl_SetDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1387     PyObject 
*resultobj
; 
1388     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1389     wxDateTime 
*arg2 
= 0 ; 
1390     PyObject 
* obj0 
= 0 ; 
1391     PyObject 
* obj1 
= 0 ; 
1393         (char *) "self",(char *) "date", NULL 
 
1396     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
; 
1397     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1398     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1399     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
1400     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1403         PyErr_SetString(PyExc_TypeError
,"null reference"); 
1407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1408         (arg1
)->SetDate((wxDateTime 
const &)*arg2
); 
1410         wxPyEndAllowThreads(__tstate
); 
1411         if (PyErr_Occurred()) SWIG_fail
; 
1413     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1420 static PyObject 
*_wrap_CalendarCtrl_GetDate(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1421     PyObject 
*resultobj
; 
1422     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1424     PyObject 
* obj0 
= 0 ; 
1426         (char *) "self", NULL 
 
1429     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetDate",kwnames
,&obj0
)) goto fail
; 
1430     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1431     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1433         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1435             wxDateTime 
const &_result_ref 
= ((wxCalendarCtrl 
const *)arg1
)->GetDate(); 
1436             result 
= (wxDateTime 
*) &_result_ref
; 
1439         wxPyEndAllowThreads(__tstate
); 
1440         if (PyErr_Occurred()) SWIG_fail
; 
1442     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
1449 static PyObject 
*_wrap_CalendarCtrl_SetLowerDateLimit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1450     PyObject 
*resultobj
; 
1451     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1452     wxDateTime 
const &arg2_defvalue 
= wxDefaultDateTime 
; 
1453     wxDateTime 
*arg2 
= (wxDateTime 
*) &arg2_defvalue 
; 
1455     PyObject 
* obj0 
= 0 ; 
1456     PyObject 
* obj1 
= 0 ; 
1458         (char *) "self",(char *) "date", NULL 
 
1461     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetLowerDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
; 
1462     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1463     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1465         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
1466         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1469             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1474         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1475         result 
= (bool)(arg1
)->SetLowerDateLimit((wxDateTime 
const &)*arg2
); 
1477         wxPyEndAllowThreads(__tstate
); 
1478         if (PyErr_Occurred()) SWIG_fail
; 
1481         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1489 static PyObject 
*_wrap_CalendarCtrl_SetUpperDateLimit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1490     PyObject 
*resultobj
; 
1491     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1492     wxDateTime 
const &arg2_defvalue 
= wxDefaultDateTime 
; 
1493     wxDateTime 
*arg2 
= (wxDateTime 
*) &arg2_defvalue 
; 
1495     PyObject 
* obj0 
= 0 ; 
1496     PyObject 
* obj1 
= 0 ; 
1498         (char *) "self",(char *) "date", NULL 
 
1501     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_SetUpperDateLimit",kwnames
,&obj0
,&obj1
)) goto fail
; 
1502     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1503     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1505         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
1506         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1509             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1514         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1515         result 
= (bool)(arg1
)->SetUpperDateLimit((wxDateTime 
const &)*arg2
); 
1517         wxPyEndAllowThreads(__tstate
); 
1518         if (PyErr_Occurred()) SWIG_fail
; 
1521         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1529 static PyObject 
*_wrap_CalendarCtrl_GetLowerDateLimit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1530     PyObject 
*resultobj
; 
1531     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1533     PyObject 
* obj0 
= 0 ; 
1535         (char *) "self", NULL 
 
1538     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetLowerDateLimit",kwnames
,&obj0
)) goto fail
; 
1539     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1540     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1542         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1544             wxDateTime 
const &_result_ref 
= ((wxCalendarCtrl 
const *)arg1
)->GetLowerDateLimit(); 
1545             result 
= (wxDateTime 
*) &_result_ref
; 
1548         wxPyEndAllowThreads(__tstate
); 
1549         if (PyErr_Occurred()) SWIG_fail
; 
1551     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
1558 static PyObject 
*_wrap_CalendarCtrl_GetUpperDateLimit(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1559     PyObject 
*resultobj
; 
1560     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1562     PyObject 
* obj0 
= 0 ; 
1564         (char *) "self", NULL 
 
1567     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetUpperDateLimit",kwnames
,&obj0
)) goto fail
; 
1568     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1569     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1571         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1573             wxDateTime 
const &_result_ref 
= ((wxCalendarCtrl 
const *)arg1
)->GetUpperDateLimit(); 
1574             result 
= (wxDateTime 
*) &_result_ref
; 
1577         wxPyEndAllowThreads(__tstate
); 
1578         if (PyErr_Occurred()) SWIG_fail
; 
1580     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0); 
1587 static PyObject 
*_wrap_CalendarCtrl_SetDateRange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1588     PyObject 
*resultobj
; 
1589     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1590     wxDateTime 
const &arg2_defvalue 
= wxDefaultDateTime 
; 
1591     wxDateTime 
*arg2 
= (wxDateTime 
*) &arg2_defvalue 
; 
1592     wxDateTime 
const &arg3_defvalue 
= wxDefaultDateTime 
; 
1593     wxDateTime 
*arg3 
= (wxDateTime 
*) &arg3_defvalue 
; 
1595     PyObject 
* obj0 
= 0 ; 
1596     PyObject 
* obj1 
= 0 ; 
1597     PyObject 
* obj2 
= 0 ; 
1599         (char *) "self",(char *) "lowerdate",(char *) "upperdate", NULL 
 
1602     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:CalendarCtrl_SetDateRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1603     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1604     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1606         if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
, 
1607         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1610             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1615         if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
, 
1616         SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
1619             PyErr_SetString(PyExc_TypeError
,"null reference"); 
1624         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1625         result 
= (bool)(arg1
)->SetDateRange((wxDateTime 
const &)*arg2
,(wxDateTime 
const &)*arg3
); 
1627         wxPyEndAllowThreads(__tstate
); 
1628         if (PyErr_Occurred()) SWIG_fail
; 
1631         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1639 static PyObject 
*_wrap_CalendarCtrl_EnableYearChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1640     PyObject 
*resultobj
; 
1641     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1642     bool arg2 
= (bool) True 
; 
1643     PyObject 
* obj0 
= 0 ; 
1644     PyObject 
* obj1 
= 0 ; 
1646         (char *) "self",(char *) "enable", NULL 
 
1649     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableYearChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
1650     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1651     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1653         arg2 
= (bool) SWIG_AsBool(obj1
);  
1654         if (PyErr_Occurred()) SWIG_fail
; 
1657         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1658         (arg1
)->EnableYearChange(arg2
); 
1660         wxPyEndAllowThreads(__tstate
); 
1661         if (PyErr_Occurred()) SWIG_fail
; 
1663     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1670 static PyObject 
*_wrap_CalendarCtrl_EnableMonthChange(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1671     PyObject 
*resultobj
; 
1672     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1673     bool arg2 
= (bool) True 
; 
1674     PyObject 
* obj0 
= 0 ; 
1675     PyObject 
* obj1 
= 0 ; 
1677         (char *) "self",(char *) "enable", NULL 
 
1680     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableMonthChange",kwnames
,&obj0
,&obj1
)) goto fail
; 
1681     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1682     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1684         arg2 
= (bool) SWIG_AsBool(obj1
);  
1685         if (PyErr_Occurred()) SWIG_fail
; 
1688         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1689         (arg1
)->EnableMonthChange(arg2
); 
1691         wxPyEndAllowThreads(__tstate
); 
1692         if (PyErr_Occurred()) SWIG_fail
; 
1694     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1701 static PyObject 
*_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1702     PyObject 
*resultobj
; 
1703     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1704     bool arg2 
= (bool) True 
; 
1705     PyObject 
* obj0 
= 0 ; 
1706     PyObject 
* obj1 
= 0 ; 
1708         (char *) "self",(char *) "display", NULL 
 
1711     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CalendarCtrl_EnableHolidayDisplay",kwnames
,&obj0
,&obj1
)) goto fail
; 
1712     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1713     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1715         arg2 
= (bool) SWIG_AsBool(obj1
);  
1716         if (PyErr_Occurred()) SWIG_fail
; 
1719         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1720         (arg1
)->EnableHolidayDisplay(arg2
); 
1722         wxPyEndAllowThreads(__tstate
); 
1723         if (PyErr_Occurred()) SWIG_fail
; 
1725     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1732 static PyObject 
*_wrap_CalendarCtrl_SetHeaderColours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1733     PyObject 
*resultobj
; 
1734     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1735     wxColour 
*arg2 
= 0 ; 
1736     wxColour 
*arg3 
= 0 ; 
1739     PyObject 
* obj0 
= 0 ; 
1740     PyObject 
* obj1 
= 0 ; 
1741     PyObject 
* obj2 
= 0 ; 
1743         (char *) "self",(char *) "colFg",(char *) "colBg", NULL 
 
1746     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHeaderColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1747     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1748     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1751         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1755         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
1758         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1759         (arg1
)->SetHeaderColours((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
); 
1761         wxPyEndAllowThreads(__tstate
); 
1762         if (PyErr_Occurred()) SWIG_fail
; 
1764     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1771 static PyObject 
*_wrap_CalendarCtrl_GetHeaderColourFg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1772     PyObject 
*resultobj
; 
1773     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1775     PyObject 
* obj0 
= 0 ; 
1777         (char *) "self", NULL 
 
1780     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourFg",kwnames
,&obj0
)) goto fail
; 
1781     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1782     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1784         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1785         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHeaderColourFg(); 
1787         wxPyEndAllowThreads(__tstate
); 
1788         if (PyErr_Occurred()) SWIG_fail
; 
1791         wxColour 
* resultptr
; 
1792         resultptr 
= new wxColour((wxColour 
&) result
); 
1793         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1801 static PyObject 
*_wrap_CalendarCtrl_GetHeaderColourBg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1802     PyObject 
*resultobj
; 
1803     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1805     PyObject 
* obj0 
= 0 ; 
1807         (char *) "self", NULL 
 
1810     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHeaderColourBg",kwnames
,&obj0
)) goto fail
; 
1811     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1812     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1814         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1815         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHeaderColourBg(); 
1817         wxPyEndAllowThreads(__tstate
); 
1818         if (PyErr_Occurred()) SWIG_fail
; 
1821         wxColour 
* resultptr
; 
1822         resultptr 
= new wxColour((wxColour 
&) result
); 
1823         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1831 static PyObject 
*_wrap_CalendarCtrl_SetHighlightColours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1832     PyObject 
*resultobj
; 
1833     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1834     wxColour 
*arg2 
= 0 ; 
1835     wxColour 
*arg3 
= 0 ; 
1838     PyObject 
* obj0 
= 0 ; 
1839     PyObject 
* obj1 
= 0 ; 
1840     PyObject 
* obj2 
= 0 ; 
1842         (char *) "self",(char *) "colFg",(char *) "colBg", NULL 
 
1845     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHighlightColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1846     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1847     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1850         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1854         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
1857         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1858         (arg1
)->SetHighlightColours((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
); 
1860         wxPyEndAllowThreads(__tstate
); 
1861         if (PyErr_Occurred()) SWIG_fail
; 
1863     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1870 static PyObject 
*_wrap_CalendarCtrl_GetHighlightColourFg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1871     PyObject 
*resultobj
; 
1872     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1874     PyObject 
* obj0 
= 0 ; 
1876         (char *) "self", NULL 
 
1879     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourFg",kwnames
,&obj0
)) goto fail
; 
1880     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1881     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1883         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1884         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHighlightColourFg(); 
1886         wxPyEndAllowThreads(__tstate
); 
1887         if (PyErr_Occurred()) SWIG_fail
; 
1890         wxColour 
* resultptr
; 
1891         resultptr 
= new wxColour((wxColour 
&) result
); 
1892         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1900 static PyObject 
*_wrap_CalendarCtrl_GetHighlightColourBg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1901     PyObject 
*resultobj
; 
1902     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1904     PyObject 
* obj0 
= 0 ; 
1906         (char *) "self", NULL 
 
1909     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHighlightColourBg",kwnames
,&obj0
)) goto fail
; 
1910     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1911     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1913         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1914         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHighlightColourBg(); 
1916         wxPyEndAllowThreads(__tstate
); 
1917         if (PyErr_Occurred()) SWIG_fail
; 
1920         wxColour 
* resultptr
; 
1921         resultptr 
= new wxColour((wxColour 
&) result
); 
1922         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1930 static PyObject 
*_wrap_CalendarCtrl_SetHolidayColours(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1931     PyObject 
*resultobj
; 
1932     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1933     wxColour 
*arg2 
= 0 ; 
1934     wxColour 
*arg3 
= 0 ; 
1937     PyObject 
* obj0 
= 0 ; 
1938     PyObject 
* obj1 
= 0 ; 
1939     PyObject 
* obj2 
= 0 ; 
1941         (char *) "self",(char *) "colFg",(char *) "colBg", NULL 
 
1944     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetHolidayColours",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
1945     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1946     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1949         if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
1953         if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
1956         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1957         (arg1
)->SetHolidayColours((wxColour 
const &)*arg2
,(wxColour 
const &)*arg3
); 
1959         wxPyEndAllowThreads(__tstate
); 
1960         if (PyErr_Occurred()) SWIG_fail
; 
1962     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1969 static PyObject 
*_wrap_CalendarCtrl_GetHolidayColourFg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1970     PyObject 
*resultobj
; 
1971     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
1973     PyObject 
* obj0 
= 0 ; 
1975         (char *) "self", NULL 
 
1978     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourFg",kwnames
,&obj0
)) goto fail
; 
1979     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
1980     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1982         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1983         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHolidayColourFg(); 
1985         wxPyEndAllowThreads(__tstate
); 
1986         if (PyErr_Occurred()) SWIG_fail
; 
1989         wxColour 
* resultptr
; 
1990         resultptr 
= new wxColour((wxColour 
&) result
); 
1991         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
1999 static PyObject 
*_wrap_CalendarCtrl_GetHolidayColourBg(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2000     PyObject 
*resultobj
; 
2001     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2003     PyObject 
* obj0 
= 0 ; 
2005         (char *) "self", NULL 
 
2008     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetHolidayColourBg",kwnames
,&obj0
)) goto fail
; 
2009     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2010     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2012         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2013         result 
= ((wxCalendarCtrl 
const *)arg1
)->GetHolidayColourBg(); 
2015         wxPyEndAllowThreads(__tstate
); 
2016         if (PyErr_Occurred()) SWIG_fail
; 
2019         wxColour 
* resultptr
; 
2020         resultptr 
= new wxColour((wxColour 
&) result
); 
2021         resultobj 
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1); 
2029 static PyObject 
*_wrap_CalendarCtrl_GetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2030     PyObject 
*resultobj
; 
2031     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2033     wxCalendarDateAttr 
*result
; 
2034     PyObject 
* obj0 
= 0 ; 
2035     PyObject 
* obj1 
= 0 ; 
2037         (char *) "self",(char *) "day", NULL 
 
2040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_GetAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
2041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2043     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
2044     if (PyErr_Occurred()) SWIG_fail
; 
2046         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2047         result 
= (wxCalendarDateAttr 
*)((wxCalendarCtrl 
const *)arg1
)->GetAttr(arg2
); 
2049         wxPyEndAllowThreads(__tstate
); 
2050         if (PyErr_Occurred()) SWIG_fail
; 
2052     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalendarDateAttr
, 0); 
2059 static PyObject 
*_wrap_CalendarCtrl_SetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2060     PyObject 
*resultobj
; 
2061     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2063     wxCalendarDateAttr 
*arg3 
= (wxCalendarDateAttr 
*) 0 ; 
2064     PyObject 
* obj0 
= 0 ; 
2065     PyObject 
* obj1 
= 0 ; 
2066     PyObject 
* obj2 
= 0 ; 
2068         (char *) "self",(char *) "day",(char *) "attr", NULL 
 
2071     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CalendarCtrl_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2072     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2073     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2074     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
2075     if (PyErr_Occurred()) SWIG_fail
; 
2076     if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCalendarDateAttr
, 
2077     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2079         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2080         (arg1
)->SetAttr(arg2
,arg3
); 
2082         wxPyEndAllowThreads(__tstate
); 
2083         if (PyErr_Occurred()) SWIG_fail
; 
2085     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2092 static PyObject 
*_wrap_CalendarCtrl_SetHoliday(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2093     PyObject 
*resultobj
; 
2094     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2096     PyObject 
* obj0 
= 0 ; 
2097     PyObject 
* obj1 
= 0 ; 
2099         (char *) "self",(char *) "day", NULL 
 
2102     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_SetHoliday",kwnames
,&obj0
,&obj1
)) goto fail
; 
2103     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2104     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2105     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
2106     if (PyErr_Occurred()) SWIG_fail
; 
2108         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2109         (arg1
)->SetHoliday(arg2
); 
2111         wxPyEndAllowThreads(__tstate
); 
2112         if (PyErr_Occurred()) SWIG_fail
; 
2114     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2121 static PyObject 
*_wrap_CalendarCtrl_ResetAttr(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2122     PyObject 
*resultobj
; 
2123     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2125     PyObject 
* obj0 
= 0 ; 
2126     PyObject 
* obj1 
= 0 ; 
2128         (char *) "self",(char *) "day", NULL 
 
2131     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_ResetAttr",kwnames
,&obj0
,&obj1
)) goto fail
; 
2132     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2133     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2134     arg2 
= (size_t) SWIG_AsUnsignedLong(obj1
);  
2135     if (PyErr_Occurred()) SWIG_fail
; 
2137         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2138         (arg1
)->ResetAttr(arg2
); 
2140         wxPyEndAllowThreads(__tstate
); 
2141         if (PyErr_Occurred()) SWIG_fail
; 
2143     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2150 static PyObject 
*_wrap_CalendarCtrl_HitTest(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2151     PyObject 
*resultobj
; 
2152     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2156     PyObject 
* obj0 
= 0 ; 
2157     PyObject 
* obj1 
= 0 ; 
2159         (char *) "self",(char *) "pos", NULL 
 
2162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalendarCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
; 
2163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2167         if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
2170         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2171         result 
= (PyObject 
*)wxCalendarCtrl_HitTest(arg1
,(wxPoint 
const &)*arg2
); 
2173         wxPyEndAllowThreads(__tstate
); 
2174         if (PyErr_Occurred()) SWIG_fail
; 
2183 static PyObject 
*_wrap_CalendarCtrl_GetMonthControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2184     PyObject 
*resultobj
; 
2185     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2187     PyObject 
* obj0 
= 0 ; 
2189         (char *) "self", NULL 
 
2192     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetMonthControl",kwnames
,&obj0
)) goto fail
; 
2193     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2194     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2197         result 
= (wxControl 
*)((wxCalendarCtrl 
const *)arg1
)->GetMonthControl(); 
2199         wxPyEndAllowThreads(__tstate
); 
2200         if (PyErr_Occurred()) SWIG_fail
; 
2203         resultobj 
= wxPyMake_wxObject(result
);  
2211 static PyObject 
*_wrap_CalendarCtrl_GetYearControl(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2212     PyObject 
*resultobj
; 
2213     wxCalendarCtrl 
*arg1 
= (wxCalendarCtrl 
*) 0 ; 
2215     PyObject 
* obj0 
= 0 ; 
2217         (char *) "self", NULL 
 
2220     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalendarCtrl_GetYearControl",kwnames
,&obj0
)) goto fail
; 
2221     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalendarCtrl
, 
2222     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2224         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2225         result 
= (wxControl 
*)((wxCalendarCtrl 
const *)arg1
)->GetYearControl(); 
2227         wxPyEndAllowThreads(__tstate
); 
2228         if (PyErr_Occurred()) SWIG_fail
; 
2231         resultobj 
= wxPyMake_wxObject(result
);  
2239 static PyObject 
* CalendarCtrl_swigregister(PyObject 
*self
, PyObject 
*args
) { 
2241     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2242     SWIG_TypeClientData(SWIGTYPE_p_wxCalendarCtrl
, obj
); 
2244     return Py_BuildValue((char *)""); 
2246 static PyMethodDef SwigMethods
[] = { 
2247          { (char *)"new_CalendarDateAttr", (PyCFunction
) _wrap_new_CalendarDateAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2248          { (char *)"CalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_SetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2249          { (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2250          { (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_SetBorderColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2251          { (char *)"CalendarDateAttr_SetFont", (PyCFunction
) _wrap_CalendarDateAttr_SetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2252          { (char *)"CalendarDateAttr_SetBorder", (PyCFunction
) _wrap_CalendarDateAttr_SetBorder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2253          { (char *)"CalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_CalendarDateAttr_SetHoliday
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2254          { (char *)"CalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_CalendarDateAttr_HasTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2255          { (char *)"CalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2256          { (char *)"CalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_HasBorderColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2257          { (char *)"CalendarDateAttr_HasFont", (PyCFunction
) _wrap_CalendarDateAttr_HasFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2258          { (char *)"CalendarDateAttr_HasBorder", (PyCFunction
) _wrap_CalendarDateAttr_HasBorder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2259          { (char *)"CalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_CalendarDateAttr_IsHoliday
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2260          { (char *)"CalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_CalendarDateAttr_GetTextColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2261          { (char *)"CalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBackgroundColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2262          { (char *)"CalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_CalendarDateAttr_GetBorderColour
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2263          { (char *)"CalendarDateAttr_GetFont", (PyCFunction
) _wrap_CalendarDateAttr_GetFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2264          { (char *)"CalendarDateAttr_GetBorder", (PyCFunction
) _wrap_CalendarDateAttr_GetBorder
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2265          { (char *)"CalendarDateAttr_swigregister", CalendarDateAttr_swigregister
, METH_VARARGS 
}, 
2266          { (char *)"new_CalendarEvent", (PyCFunction
) _wrap_new_CalendarEvent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2267          { (char *)"CalendarEvent_GetDate", (PyCFunction
) _wrap_CalendarEvent_GetDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2268          { (char *)"CalendarEvent_SetDate", (PyCFunction
) _wrap_CalendarEvent_SetDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2269          { (char *)"CalendarEvent_SetWeekDay", (PyCFunction
) _wrap_CalendarEvent_SetWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2270          { (char *)"CalendarEvent_GetWeekDay", (PyCFunction
) _wrap_CalendarEvent_GetWeekDay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2271          { (char *)"CalendarEvent_swigregister", CalendarEvent_swigregister
, METH_VARARGS 
}, 
2272          { (char *)"new_CalendarCtrl", (PyCFunction
) _wrap_new_CalendarCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2273          { (char *)"new_PreCalendarCtrl", (PyCFunction
) _wrap_new_PreCalendarCtrl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2274          { (char *)"CalendarCtrl_Create", (PyCFunction
) _wrap_CalendarCtrl_Create
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2275          { (char *)"CalendarCtrl_SetDate", (PyCFunction
) _wrap_CalendarCtrl_SetDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2276          { (char *)"CalendarCtrl_GetDate", (PyCFunction
) _wrap_CalendarCtrl_GetDate
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2277          { (char *)"CalendarCtrl_SetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetLowerDateLimit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2278          { (char *)"CalendarCtrl_SetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_SetUpperDateLimit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2279          { (char *)"CalendarCtrl_GetLowerDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetLowerDateLimit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2280          { (char *)"CalendarCtrl_GetUpperDateLimit", (PyCFunction
) _wrap_CalendarCtrl_GetUpperDateLimit
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2281          { (char *)"CalendarCtrl_SetDateRange", (PyCFunction
) _wrap_CalendarCtrl_SetDateRange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2282          { (char *)"CalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_CalendarCtrl_EnableYearChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2283          { (char *)"CalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_CalendarCtrl_EnableMonthChange
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2284          { (char *)"CalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_CalendarCtrl_EnableHolidayDisplay
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2285          { (char *)"CalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_CalendarCtrl_SetHeaderColours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2286          { (char *)"CalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourFg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2287          { (char *)"CalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHeaderColourBg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2288          { (char *)"CalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_CalendarCtrl_SetHighlightColours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2289          { (char *)"CalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourFg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2290          { (char *)"CalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHighlightColourBg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2291          { (char *)"CalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_CalendarCtrl_SetHolidayColours
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2292          { (char *)"CalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourFg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2293          { (char *)"CalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_CalendarCtrl_GetHolidayColourBg
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2294          { (char *)"CalendarCtrl_GetAttr", (PyCFunction
) _wrap_CalendarCtrl_GetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2295          { (char *)"CalendarCtrl_SetAttr", (PyCFunction
) _wrap_CalendarCtrl_SetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2296          { (char *)"CalendarCtrl_SetHoliday", (PyCFunction
) _wrap_CalendarCtrl_SetHoliday
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2297          { (char *)"CalendarCtrl_ResetAttr", (PyCFunction
) _wrap_CalendarCtrl_ResetAttr
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2298          { (char *)"CalendarCtrl_HitTest", (PyCFunction
) _wrap_CalendarCtrl_HitTest
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2299          { (char *)"CalendarCtrl_GetMonthControl", (PyCFunction
) _wrap_CalendarCtrl_GetMonthControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2300          { (char *)"CalendarCtrl_GetYearControl", (PyCFunction
) _wrap_CalendarCtrl_GetYearControl
, METH_VARARGS 
| METH_KEYWORDS 
}, 
2301          { (char *)"CalendarCtrl_swigregister", CalendarCtrl_swigregister
, METH_VARARGS 
}, 
2306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
2308 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
2309     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
2311 static void *_p_wxCalendarCtrlTo_p_wxObject(void *x
) { 
2312     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxCalendarCtrl 
*) x
)); 
2314 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
2315     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
2317 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
2318     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
2320 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
2321     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
2323 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
2324     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
2326 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
2327     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
2329 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
2330     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
2332 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
2333     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
2335 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
2336     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
2338 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) { 
2339     return (void *)((wxObject 
*)  ((wxFileHistory 
*) x
)); 
2341 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
2342     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
2344 static void *_p_wxEventTo_p_wxObject(void *x
) { 
2345     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
2347 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
2348     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
2350 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
2351     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
2353 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
2354     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
2356 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
2357     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
2359 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
2360     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
2362 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
2363     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
2365 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
2366     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
2368 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
2369     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
2371 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
2372     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
2374 static void *_p_wxControlTo_p_wxObject(void *x
) { 
2375     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
2377 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
2378     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
2380 static void *_p_wxTimerEventTo_p_wxObject(void *x
) { 
2381     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTimerEvent 
*) x
)); 
2383 static void *_p_wxCalendarEventTo_p_wxObject(void *x
) { 
2384     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxCalendarEvent 
*) x
)); 
2386 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
2387     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
2389 static void *_p_wxClipboardTo_p_wxObject(void *x
) { 
2390     return (void *)((wxObject 
*)  ((wxClipboard 
*) x
)); 
2392 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
2393     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
2395 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
2396     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
2398 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
2399     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
2401 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
2402     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
2404 static void *_p_wxToolTipTo_p_wxObject(void *x
) { 
2405     return (void *)((wxObject 
*)  ((wxToolTip 
*) x
)); 
2407 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
2408     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
2410 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
2411     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
2413 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
2414     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
2416 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
2417     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
2419 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
2420     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
2422 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
2423     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
2425 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
2426     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
2428 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
2429     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
2431 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
2432     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
2434 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
2435     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
2437 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
2438     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
2440 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
2441     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
2443 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
2444     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
2446 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
2447     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
2449 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
2450     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
2452 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
2453     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
2455 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
2456     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
2458 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
2459     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
2461 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
2462     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
2464 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
2465     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
2467 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
2468     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
2470 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
2471     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
2473 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
2474     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
2476 static void *_p_wxImageTo_p_wxObject(void *x
) { 
2477     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
2479 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
2480     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
2482 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) { 
2483     return (void *)((wxObject 
*)  ((wxSystemOptions 
*) x
)); 
2485 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) { 
2486     return (void *)((wxObject 
*) (wxEvent 
*) ((wxJoystickEvent 
*) x
)); 
2488 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
2489     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
2491 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
2492     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
2494 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
2495     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
2497 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
2498     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
2500 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
2501     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
2503 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
2504     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
2506 static void *_p_wxPyProcessTo_p_wxObject(void *x
) { 
2507     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyProcess 
*) x
)); 
2509 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
2510     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
2512 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
2513     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
2515 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
2516     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
2518 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
2519     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
2521 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
2522     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
2524 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
2525     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
2527 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
2528     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
2530 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) { 
2531     return (void *)((wxObject 
*)  ((wxBusyInfo 
*) x
)); 
2533 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
2534     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
2536 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
2537     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
2539 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
2540     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
2542 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
2543     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
2545 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
2546     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
2548 static void *_p_wxProcessEventTo_p_wxObject(void *x
) { 
2549     return (void *)((wxObject 
*) (wxEvent 
*) ((wxProcessEvent 
*) x
)); 
2551 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
2552     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
2554 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
2555     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
2557 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
2558     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
2560 static void *_p_wxPyTimerTo_p_wxObject(void *x
) { 
2561     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTimer 
*) x
)); 
2563 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
2564     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
2566 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
2567     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
2569 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
2570     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
2572 static void *_p_wxCalendarCtrlTo_p_wxWindow(void *x
) { 
2573     return (void *)((wxWindow 
*) (wxControl 
*) ((wxCalendarCtrl 
*) x
)); 
2575 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
2576     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
2578 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
2579     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
2581 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
2582     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
2584 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
2585     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
2587 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
2588     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
2590 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
2591     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
2593 static void *_p_wxCalendarEventTo_p_wxCommandEvent(void *x
) { 
2594     return (void *)((wxCommandEvent 
*)  ((wxCalendarEvent 
*) x
)); 
2596 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
2597     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
2599 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
2600     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
2602 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
2603     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
2605 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
2606     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
2608 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
2609     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
2611 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
2612     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
2614 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) { 
2615     return (void *)((wxEvtHandler 
*)  ((wxPyTimer 
*) x
)); 
2617 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
2618     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
2620 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
2621     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
2623 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
2624     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
2626 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
2627     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
2629 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) { 
2630     return (void *)((wxEvtHandler 
*)  ((wxPyProcess 
*) x
)); 
2632 static void *_p_wxCalendarCtrlTo_p_wxEvtHandler(void *x
) { 
2633     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxCalendarCtrl 
*) x
)); 
2635 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) { 
2636     return (void *)((wxControl 
*)  ((wxControlWithItems 
*) x
)); 
2638 static void *_p_wxCalendarCtrlTo_p_wxControl(void *x
) { 
2639     return (void *)((wxControl 
*)  ((wxCalendarCtrl 
*) x
)); 
2641 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
2642     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
2644 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
2645     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
2647 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
2648     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
2650 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
2651     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
2653 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
2654     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
2656 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
2657     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
2659 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) { 
2660     return (void *)((wxEvent 
*)  ((wxTimerEvent 
*) x
)); 
2662 static void *_p_wxCalendarEventTo_p_wxEvent(void *x
) { 
2663     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxCalendarEvent 
*) x
)); 
2665 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
2666     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
2668 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
2669     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
2671 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
2672     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
2674 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
2675     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
2677 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) { 
2678     return (void *)((wxEvent 
*)  ((wxJoystickEvent 
*) x
)); 
2680 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
2681     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
2683 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
2684     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
2686 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
2687     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
2689 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
2690     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
2692 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
2693     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
2695 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
2696     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
2698 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
2699     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
2701 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
2702     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
2704 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
2705     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
2707 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
2708     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
2710 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
2711     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
2713 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
2714     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
2716 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
2717     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
2719 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
2720     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
2722 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
2723     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
2725 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
2726     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
2728 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
2729     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
2731 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
2732     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
2734 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) { 
2735     return (void *)((wxEvent 
*)  ((wxProcessEvent 
*) x
)); 
2737 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
2738     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
2740 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
2741     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
2743 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
2744     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
2746 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
2747     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
2749 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
2750     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
2752 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
2753     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
2755 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
2756     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
2758 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2759 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2760 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2761 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2762 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2763 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2764 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2765 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2766 static swig_type_info _swigt__p_wxCalendarDateAttr
[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2767 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2768 static swig_type_info _swigt__p_wxCalendarEvent
[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2769 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2770 static swig_type_info _swigt__p_wxCalendarCtrl
[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; 
2772 static swig_type_info 
*swig_types_initial
[] = { 
2773 _swigt__p_wxControl
,  
2774 _swigt__p_wxDateTime
,  
2779 _swigt__p_wxEvtHandler
,  
2781 _swigt__p_wxCalendarDateAttr
,  
2783 _swigt__p_wxCalendarEvent
,  
2784 _swigt__p_wxCommandEvent
,  
2785 _swigt__p_wxCalendarCtrl
,  
2790 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
2792 static swig_const_info swig_const_table
[] = { 
2802 SWIGEXPORT(void) SWIG_init(void) { 
2803     static PyObject 
*SWIG_globals 
= 0;  
2804     static int       typeinit 
= 0; 
2807     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
2808     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
2809     d 
= PyModule_GetDict(m
); 
2812         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
2813             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
2817     SWIG_InstallConstants(d
,swig_const_table
); 
2819     PyDict_SetItemString(d
,"CAL_SUNDAY_FIRST", SWIG_FromInt((int)wxCAL_SUNDAY_FIRST
)); 
2820     PyDict_SetItemString(d
,"CAL_MONDAY_FIRST", SWIG_FromInt((int)wxCAL_MONDAY_FIRST
)); 
2821     PyDict_SetItemString(d
,"CAL_SHOW_HOLIDAYS", SWIG_FromInt((int)wxCAL_SHOW_HOLIDAYS
)); 
2822     PyDict_SetItemString(d
,"CAL_NO_YEAR_CHANGE", SWIG_FromInt((int)wxCAL_NO_YEAR_CHANGE
)); 
2823     PyDict_SetItemString(d
,"CAL_NO_MONTH_CHANGE", SWIG_FromInt((int)wxCAL_NO_MONTH_CHANGE
)); 
2824     PyDict_SetItemString(d
,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_FromInt((int)wxCAL_SEQUENTIAL_MONTH_SELECTION
)); 
2825     PyDict_SetItemString(d
,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_FromInt((int)wxCAL_SHOW_SURROUNDING_WEEKS
)); 
2826     PyDict_SetItemString(d
,"CAL_HITTEST_NOWHERE", SWIG_FromInt((int)wxCAL_HITTEST_NOWHERE
)); 
2827     PyDict_SetItemString(d
,"CAL_HITTEST_HEADER", SWIG_FromInt((int)wxCAL_HITTEST_HEADER
)); 
2828     PyDict_SetItemString(d
,"CAL_HITTEST_DAY", SWIG_FromInt((int)wxCAL_HITTEST_DAY
)); 
2829     PyDict_SetItemString(d
,"CAL_HITTEST_INCMONTH", SWIG_FromInt((int)wxCAL_HITTEST_INCMONTH
)); 
2830     PyDict_SetItemString(d
,"CAL_HITTEST_DECMONTH", SWIG_FromInt((int)wxCAL_HITTEST_DECMONTH
)); 
2831     PyDict_SetItemString(d
,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_FromInt((int)wxCAL_HITTEST_SURROUNDING_WEEK
)); 
2832     PyDict_SetItemString(d
,"CAL_BORDER_NONE", SWIG_FromInt((int)wxCAL_BORDER_NONE
)); 
2833     PyDict_SetItemString(d
,"CAL_BORDER_SQUARE", SWIG_FromInt((int)wxCAL_BORDER_SQUARE
)); 
2834     PyDict_SetItemString(d
,"CAL_BORDER_ROUND", SWIG_FromInt((int)wxCAL_BORDER_ROUND
)); 
2835     PyDict_SetItemString(d
, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED
)); 
2836     PyDict_SetItemString(d
, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED
)); 
2837     PyDict_SetItemString(d
, "wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_DAY_CHANGED
)); 
2838     PyDict_SetItemString(d
, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED
)); 
2839     PyDict_SetItemString(d
, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED
)); 
2840     PyDict_SetItemString(d
, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED
)); 
2841     PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
); 
2842     SWIG_addvarlink(SWIG_globals
,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get
, _wrap_CalendarNameStr_set
);