2 * FILE : src/msw/calendar.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcalendarc
56 #define SWIG_name "calendarc"
59 #include <wx/calctrl.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "string type is required for parameter";
115 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
116 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
118 wxCalendarDateAttr
* _result
;
120 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
121 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
122 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
123 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
125 PyObject
* _obj0
= 0;
127 PyObject
* _obj1
= 0;
129 PyObject
* _obj2
= 0;
130 PyObject
* _argo3
= 0;
131 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
139 if (! wxColour_helper(_obj0
, &_arg0
))
145 if (! wxColour_helper(_obj1
, &_arg1
))
151 if (! wxColour_helper(_obj2
, &_arg2
))
155 if (_argo3
== Py_None
) { _arg3
= NULL
; }
156 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
162 wxPy_BEGIN_ALLOW_THREADS
;
163 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
165 wxPy_END_ALLOW_THREADS
;
167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
168 _resultobj
= Py_BuildValue("s",_ptemp
);
171 _resultobj
= Py_None
;
176 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
177 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxCalendarDateAttr
* _result
;
180 wxCalendarDateBorder _arg0
;
181 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
183 PyObject
* _obj1
= 0;
184 char *_kwnames
[] = { "border","colBorder", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
193 if (! wxColour_helper(_obj1
, &_arg1
))
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
200 wxPy_END_ALLOW_THREADS
;
202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
203 _resultobj
= Py_BuildValue("s",_ptemp
);
206 _resultobj
= Py_None
;
211 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
212 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
213 PyObject
* _resultobj
;
214 wxCalendarDateAttr
* _arg0
;
216 PyObject
* _argo0
= 0;
218 PyObject
* _obj1
= 0;
219 char *_kwnames
[] = { "self","colText", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
233 if (! wxColour_helper(_obj1
, &_arg1
))
237 wxPy_BEGIN_ALLOW_THREADS
;
238 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
240 wxPy_END_ALLOW_THREADS
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
247 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
249 wxCalendarDateAttr
* _arg0
;
251 PyObject
* _argo0
= 0;
253 PyObject
* _obj1
= 0;
254 char *_kwnames
[] = { "self","colBack", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
268 if (! wxColour_helper(_obj1
, &_arg1
))
272 wxPy_BEGIN_ALLOW_THREADS
;
273 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
275 wxPy_END_ALLOW_THREADS
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
282 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxCalendarDateAttr
* _arg0
;
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "self","col", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
303 if (! wxColour_helper(_obj1
, &_arg1
))
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
317 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxCalendarDateAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
322 PyObject
* _argo1
= 0;
323 char *_kwnames
[] = { "self","font", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
343 wxPy_BEGIN_ALLOW_THREADS
;
344 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
346 wxPy_END_ALLOW_THREADS
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
353 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxCalendarDateAttr
* _arg0
;
356 wxCalendarDateBorder _arg1
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self","border", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
371 wxPy_BEGIN_ALLOW_THREADS
;
372 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
374 wxPy_END_ALLOW_THREADS
;
375 } Py_INCREF(Py_None
);
376 _resultobj
= Py_None
;
380 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
381 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
383 wxCalendarDateAttr
* _arg0
;
385 PyObject
* _argo0
= 0;
387 char *_kwnames
[] = { "self","holiday", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
399 _arg1
= (bool ) tempbool1
;
401 wxPy_BEGIN_ALLOW_THREADS
;
402 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
404 wxPy_END_ALLOW_THREADS
;
405 } Py_INCREF(Py_None
);
406 _resultobj
= Py_None
;
410 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
411 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
414 wxCalendarDateAttr
* _arg0
;
415 PyObject
* _argo0
= 0;
416 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
437 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
438 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
441 wxCalendarDateAttr
* _arg0
;
442 PyObject
* _argo0
= 0;
443 char *_kwnames
[] = { "self", NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
456 wxPy_BEGIN_ALLOW_THREADS
;
457 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
459 wxPy_END_ALLOW_THREADS
;
460 } _resultobj
= Py_BuildValue("i",_result
);
464 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
465 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
468 wxCalendarDateAttr
* _arg0
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
486 wxPy_END_ALLOW_THREADS
;
487 } _resultobj
= Py_BuildValue("i",_result
);
491 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
492 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxCalendarDateAttr
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
513 wxPy_END_ALLOW_THREADS
;
514 } _resultobj
= Py_BuildValue("i",_result
);
518 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
519 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 wxCalendarDateAttr
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
537 wxPy_BEGIN_ALLOW_THREADS
;
538 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
540 wxPy_END_ALLOW_THREADS
;
541 } _resultobj
= Py_BuildValue("i",_result
);
545 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
546 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxCalendarDateAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
567 wxPy_END_ALLOW_THREADS
;
568 } _resultobj
= Py_BuildValue("i",_result
);
572 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
573 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
576 wxCalendarDateAttr
* _arg0
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
594 _result
= (wxColour
*) &_result_ref
;
596 wxPy_END_ALLOW_THREADS
;
598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
602 _resultobj
= Py_None
;
607 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
608 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxCalendarDateAttr
* _arg0
;
612 PyObject
* _argo0
= 0;
613 char *_kwnames
[] = { "self", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
627 wxPy_BEGIN_ALLOW_THREADS
;
628 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBackgroundColour(_arg0
);
629 _result
= (wxColour
*) &_result_ref
;
631 wxPy_END_ALLOW_THREADS
;
633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
634 _resultobj
= Py_BuildValue("s",_ptemp
);
637 _resultobj
= Py_None
;
642 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
643 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
646 wxCalendarDateAttr
* _arg0
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
664 _result
= (wxColour
*) &_result_ref
;
666 wxPy_END_ALLOW_THREADS
;
668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
669 _resultobj
= Py_BuildValue("s",_ptemp
);
672 _resultobj
= Py_None
;
677 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
678 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
681 wxCalendarDateAttr
* _arg0
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
699 _result
= (wxFont
*) &_result_ref
;
701 wxPy_END_ALLOW_THREADS
;
703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
704 _resultobj
= Py_BuildValue("s",_ptemp
);
707 _resultobj
= Py_None
;
712 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
713 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
715 wxCalendarDateBorder _result
;
716 wxCalendarDateAttr
* _arg0
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
734 wxPy_END_ALLOW_THREADS
;
735 } _resultobj
= Py_BuildValue("i",_result
);
739 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
740 wxCalendarEvent
*src
;
741 wxCommandEvent
*dest
;
742 src
= (wxCalendarEvent
*) ptr
;
743 dest
= (wxCommandEvent
*) src
;
744 return (void *) dest
;
747 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
748 wxCalendarEvent
*src
;
750 src
= (wxCalendarEvent
*) ptr
;
751 dest
= (wxEvent
*) src
;
752 return (void *) dest
;
755 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
756 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxCalendarEvent
* _result
;
759 wxCalendarCtrl
* _arg0
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "cal","type", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
782 _resultobj
= Py_BuildValue("s",_ptemp
);
785 _resultobj
= Py_None
;
790 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
791 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
793 wxDateTime
* _result
;
794 wxCalendarEvent
* _arg0
;
795 PyObject
* _argo0
= 0;
796 char *_kwnames
[] = { "self", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
810 wxPy_BEGIN_ALLOW_THREADS
;
811 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
812 _result
= (wxDateTime
*) &_result_ref
;
814 wxPy_END_ALLOW_THREADS
;
816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
817 _resultobj
= Py_BuildValue("s",_ptemp
);
820 _resultobj
= Py_None
;
825 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
826 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
828 wxDateTime::WeekDay _result
;
829 wxCalendarEvent
* _arg0
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
855 src
= (wxCalendarCtrl
*) ptr
;
856 dest
= (wxControl
*) src
;
857 return (void *) dest
;
860 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
863 src
= (wxCalendarCtrl
*) ptr
;
864 dest
= (wxWindow
*) src
;
865 return (void *) dest
;
868 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
871 src
= (wxCalendarCtrl
*) ptr
;
872 dest
= (wxEvtHandler
*) src
;
873 return (void *) dest
;
876 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
877 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
879 wxCalendarCtrl
* _result
;
882 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
883 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
884 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
885 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
);
886 char * _arg6
= (char *) "calendar";
887 PyObject
* _argo0
= 0;
888 PyObject
* _argo2
= 0;
890 PyObject
* _obj3
= 0;
892 PyObject
* _obj4
= 0;
893 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
907 if (_argo2
== Py_None
) { _arg2
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
916 if (! wxPoint_helper(_obj3
, &_arg3
))
922 if (! wxSize_helper(_obj4
, &_arg4
))
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
929 wxPy_END_ALLOW_THREADS
;
931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
935 _resultobj
= Py_None
;
940 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
941 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxCalendarCtrl
* _arg0
;
945 PyObject
* _argo0
= 0;
946 PyObject
* _argo1
= 0;
947 char *_kwnames
[] = { "self","date", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
967 wxPy_BEGIN_ALLOW_THREADS
;
968 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
977 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
979 wxDateTime
* _result
;
980 wxCalendarCtrl
* _arg0
;
981 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self", NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
996 wxPy_BEGIN_ALLOW_THREADS
;
997 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
998 _result
= (wxDateTime
*) &_result_ref
;
1000 wxPy_END_ALLOW_THREADS
;
1002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
1003 _resultobj
= Py_BuildValue("s",_ptemp
);
1006 _resultobj
= Py_None
;
1011 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1012 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1014 wxCalendarCtrl
* _arg0
;
1015 bool _arg1
= (bool ) TRUE
;
1016 PyObject
* _argo0
= 0;
1017 int tempbool1
= (int) TRUE
;
1018 char *_kwnames
[] = { "self","enable", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1030 _arg1
= (bool ) tempbool1
;
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1035 wxPy_END_ALLOW_THREADS
;
1036 } Py_INCREF(Py_None
);
1037 _resultobj
= Py_None
;
1041 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1042 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1044 wxCalendarCtrl
* _arg0
;
1045 bool _arg1
= (bool ) TRUE
;
1046 PyObject
* _argo0
= 0;
1047 int tempbool1
= (int) TRUE
;
1048 char *_kwnames
[] = { "self","enable", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1060 _arg1
= (bool ) tempbool1
;
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } Py_INCREF(Py_None
);
1067 _resultobj
= Py_None
;
1071 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1072 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1074 wxCalendarCtrl
* _arg0
;
1075 bool _arg1
= (bool ) TRUE
;
1076 PyObject
* _argo0
= 0;
1077 int tempbool1
= (int) TRUE
;
1078 char *_kwnames
[] = { "self","display", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1090 _arg1
= (bool ) tempbool1
;
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } Py_INCREF(Py_None
);
1097 _resultobj
= Py_None
;
1101 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1102 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1104 wxCalendarCtrl
* _arg0
;
1107 PyObject
* _argo0
= 0;
1109 PyObject
* _obj1
= 0;
1111 PyObject
* _obj2
= 0;
1112 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1126 if (! wxColour_helper(_obj1
, &_arg1
))
1131 if (! wxColour_helper(_obj2
, &_arg2
))
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } Py_INCREF(Py_None
);
1140 _resultobj
= Py_None
;
1144 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1145 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1148 wxCalendarCtrl
* _arg0
;
1149 PyObject
* _argo0
= 0;
1150 char *_kwnames
[] = { "self", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1166 _result
= (wxColour
*) &_result_ref
;
1168 wxPy_END_ALLOW_THREADS
;
1170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1171 _resultobj
= Py_BuildValue("s",_ptemp
);
1174 _resultobj
= Py_None
;
1179 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1180 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1183 wxCalendarCtrl
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1201 _result
= (wxColour
*) &_result_ref
;
1203 wxPy_END_ALLOW_THREADS
;
1205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1206 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 _resultobj
= Py_None
;
1214 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1215 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1217 wxCalendarCtrl
* _arg0
;
1220 PyObject
* _argo0
= 0;
1222 PyObject
* _obj1
= 0;
1224 PyObject
* _obj2
= 0;
1225 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1239 if (! wxColour_helper(_obj1
, &_arg1
))
1244 if (! wxColour_helper(_obj2
, &_arg2
))
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1251 wxPy_END_ALLOW_THREADS
;
1252 } Py_INCREF(Py_None
);
1253 _resultobj
= Py_None
;
1257 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1258 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1261 wxCalendarCtrl
* _arg0
;
1262 PyObject
* _argo0
= 0;
1263 char *_kwnames
[] = { "self", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1279 _result
= (wxColour
*) &_result_ref
;
1281 wxPy_END_ALLOW_THREADS
;
1283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1284 _resultobj
= Py_BuildValue("s",_ptemp
);
1287 _resultobj
= Py_None
;
1292 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1293 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1296 wxCalendarCtrl
* _arg0
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1314 _result
= (wxColour
*) &_result_ref
;
1316 wxPy_END_ALLOW_THREADS
;
1318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1319 _resultobj
= Py_BuildValue("s",_ptemp
);
1322 _resultobj
= Py_None
;
1327 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1328 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxCalendarCtrl
* _arg0
;
1333 PyObject
* _argo0
= 0;
1335 PyObject
* _obj1
= 0;
1337 PyObject
* _obj2
= 0;
1338 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1352 if (! wxColour_helper(_obj1
, &_arg1
))
1357 if (! wxColour_helper(_obj2
, &_arg2
))
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } Py_INCREF(Py_None
);
1366 _resultobj
= Py_None
;
1370 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1371 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1374 wxCalendarCtrl
* _arg0
;
1375 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1392 _result
= (wxColour
*) &_result_ref
;
1394 wxPy_END_ALLOW_THREADS
;
1396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1397 _resultobj
= Py_BuildValue("s",_ptemp
);
1400 _resultobj
= Py_None
;
1405 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1406 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1409 wxCalendarCtrl
* _arg0
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1427 _result
= (wxColour
*) &_result_ref
;
1429 wxPy_END_ALLOW_THREADS
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1440 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1441 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxCalendarDateAttr
* _result
;
1444 wxCalendarCtrl
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self","day", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1464 wxPy_END_ALLOW_THREADS
;
1466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1467 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 _resultobj
= Py_None
;
1475 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1476 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxCalendarCtrl
* _arg0
;
1480 wxCalendarDateAttr
* _arg2
;
1481 PyObject
* _argo0
= 0;
1482 PyObject
* _argo2
= 0;
1483 char *_kwnames
[] = { "self","day","attr", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1496 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1506 wxPy_END_ALLOW_THREADS
;
1507 } Py_INCREF(Py_None
);
1508 _resultobj
= Py_None
;
1512 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1513 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1515 wxCalendarCtrl
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","day", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } Py_INCREF(Py_None
);
1536 _resultobj
= Py_None
;
1540 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1541 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxCalendarCtrl
* _arg0
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self","day", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1562 wxPy_END_ALLOW_THREADS
;
1563 } Py_INCREF(Py_None
);
1564 _resultobj
= Py_None
;
1568 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1569 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1571 wxCalendarHitTestResult _result
;
1572 wxCalendarCtrl
* _arg0
;
1574 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1575 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1576 PyObject
* _argo0
= 0;
1578 PyObject
* _obj1
= 0;
1579 PyObject
* _argo2
= 0;
1580 PyObject
* _argo3
= 0;
1581 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1595 if (! wxPoint_helper(_obj1
, &_arg1
))
1599 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1606 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } _resultobj
= Py_BuildValue("i",_result
);
1621 static PyMethodDef calendarcMethods
[] = {
1622 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1623 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1624 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1625 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1626 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1627 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1628 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1629 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1630 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1631 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1632 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1633 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1634 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1635 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1636 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1637 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1638 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1639 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1640 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1641 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1642 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1658 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1659 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1660 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1661 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1662 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1663 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1670 * This table is used by the pointer type-checker
1672 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1673 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1674 { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1675 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1676 { "_wxEvent","_class_wxEvent",0},
1677 { "_class_wxActivateEvent","_wxActivateEvent",0},
1678 { "_signed_long","_long",0},
1679 { "_wxMenuEvent","_class_wxMenuEvent",0},
1680 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1681 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1682 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1683 { "_class_wxDateTime","_wxDateTime",0},
1684 { "_wxPrintQuality","_wxCoord",0},
1685 { "_wxPrintQuality","_int",0},
1686 { "_wxPrintQuality","_signed_int",0},
1687 { "_wxPrintQuality","_unsigned_int",0},
1688 { "_wxPrintQuality","_wxWindowID",0},
1689 { "_wxPrintQuality","_uint",0},
1690 { "_wxPrintQuality","_EBool",0},
1691 { "_wxPrintQuality","_size_t",0},
1692 { "_wxPrintQuality","_time_t",0},
1693 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1694 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1695 { "_class_wxRegionIterator","_wxRegionIterator",0},
1696 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1697 { "_class_wxMenuBar","_wxMenuBar",0},
1698 { "_class_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1699 { "_class_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1700 { "_class_wxEvtHandler","_wxEvtHandler",0},
1701 { "_wxPaintEvent","_class_wxPaintEvent",0},
1702 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1703 { "_wxCursor","_class_wxCursor",0},
1704 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1705 { "_wxMask","_class_wxMask",0},
1706 { "_wxPen","_class_wxPen",0},
1707 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1708 { "_byte","_unsigned_char",0},
1709 { "_wxDataObject","_class_wxDataObject",0},
1710 { "_wxStaticBox","_class_wxStaticBox",0},
1711 { "_wxColourDatabase","_class_wxColourDatabase",0},
1712 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1713 { "_wxPyDropSource","_class_wxPyDropSource",0},
1714 { "_wxChoice","_class_wxChoice",0},
1715 { "_wxSlider","_class_wxSlider",0},
1716 { "_long","_unsigned_long",0},
1717 { "_long","_signed_long",0},
1718 { "_wxImageList","_class_wxImageList",0},
1719 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1720 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1721 { "_wxBitmapButton","_class_wxBitmapButton",0},
1722 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1723 { "_class_wxClipboard","_wxClipboard",0},
1724 { "_class_wxGauge","_wxGauge",0},
1725 { "_wxDC","_class_wxDC",0},
1726 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1727 { "_wxSpinEvent","_class_wxSpinEvent",0},
1728 { "_size_t","_wxCoord",0},
1729 { "_size_t","_wxPrintQuality",0},
1730 { "_size_t","_time_t",0},
1731 { "_size_t","_unsigned_int",0},
1732 { "_size_t","_int",0},
1733 { "_size_t","_wxWindowID",0},
1734 { "_size_t","_uint",0},
1735 { "_class_wxRealPoint","_wxRealPoint",0},
1736 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1737 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1738 { "_class_wxMenuItem","_wxMenuItem",0},
1739 { "_class_wxPaintEvent","_wxPaintEvent",0},
1740 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1741 { "_wxPanel","_class_wxPanel",0},
1742 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1743 { "_wxCheckBox","_class_wxCheckBox",0},
1744 { "_wxPyEvent","_class_wxPyEvent",0},
1745 { "_wxTextCtrl","_class_wxTextCtrl",0},
1746 { "_class_wxMask","_wxMask",0},
1747 { "_wxTextDataObject","_class_wxTextDataObject",0},
1748 { "_class_wxKeyEvent","_wxKeyEvent",0},
1749 { "_wxFileConfig","_class_wxFileConfig",0},
1750 { "_wxColour","_class_wxColour",0},
1751 { "_class_wxDialog","_wxDialog",0},
1752 { "_class_wxFileDataObject","_wxFileDataObject",0},
1753 { "_wxIdleEvent","_class_wxIdleEvent",0},
1754 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1755 { "_class_wxDataObject","_wxDataObject",0},
1756 { "_wxStaticLine","_class_wxStaticLine",0},
1757 { "_wxBrush","_class_wxBrush",0},
1758 { "_wxToggleButton","_class_wxToggleButton",0},
1759 { "_wxDataFormat","_class_wxDataFormat",0},
1760 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1761 { "_wxShowEvent","_class_wxShowEvent",0},
1762 { "_uint","_wxCoord",0},
1763 { "_uint","_wxPrintQuality",0},
1764 { "_uint","_time_t",0},
1765 { "_uint","_size_t",0},
1766 { "_uint","_unsigned_int",0},
1767 { "_uint","_int",0},
1768 { "_uint","_wxWindowID",0},
1769 { "_wxChar","_char",0},
1770 { "_wxPyValidator","_class_wxPyValidator",0},
1771 { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1772 { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1773 { "_class_wxEvent","_wxEvent",0},
1774 { "_wxCheckListBox","_class_wxCheckListBox",0},
1775 { "_wxRect","_class_wxRect",0},
1776 { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1777 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1778 { "_wxCommandEvent","_class_wxCommandEvent",0},
1779 { "_wxSizeEvent","_class_wxSizeEvent",0},
1780 { "_wxPoint","_class_wxPoint",0},
1781 { "_class_wxButton","_wxButton",0},
1782 { "_wxRadioBox","_class_wxRadioBox",0},
1783 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1784 { "_char","_wxChar",0},
1785 { "_wxBitmap","_class_wxBitmap",0},
1786 { "_wxPenList","_class_wxPenList",0},
1787 { "_wxWindowDC","_class_wxWindowDC",0},
1788 { "_wxTimerEvent","_class_wxTimerEvent",0},
1789 { "_wxScrollBar","_class_wxScrollBar",0},
1790 { "_wxSpinButton","_class_wxSpinButton",0},
1791 { "_wxCalendarEvent","_class_wxCalendarEvent",0},
1792 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1793 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1794 { "_class_wxValidator","_wxValidator",0},
1795 { "_class_wxPyEvent","_wxPyEvent",0},
1796 { "_wxConfig","_class_wxConfig",0},
1797 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1798 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1799 { "_class_wxFileConfig","_wxFileConfig",0},
1800 { "_wxDropTarget","_class_wxDropTarget",0},
1801 { "_class_wxStaticLine","_wxStaticLine",0},
1802 { "_class_wxColourDatabase","_wxColourDatabase",0},
1803 { "_wxScrollEvent","_class_wxScrollEvent",0},
1804 { "_EBool","_wxCoord",0},
1805 { "_EBool","_wxPrintQuality",0},
1806 { "_EBool","_signed_int",0},
1807 { "_EBool","_int",0},
1808 { "_EBool","_wxWindowID",0},
1809 { "_class_wxRegion","_wxRegion",0},
1810 { "_class_wxDataFormat","_wxDataFormat",0},
1811 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1812 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1813 { "_wxStaticText","_class_wxStaticText",0},
1814 { "_wxFont","_class_wxFont",0},
1815 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1816 { "_wxCloseEvent","_class_wxCloseEvent",0},
1817 { "_unsigned_long","_long",0},
1818 { "_class_wxRect","_wxRect",0},
1819 { "_class_wxDC","_wxDC",0},
1820 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1821 { "_class_wxBrushList","_wxBrushList",0},
1822 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1823 { "_class_wxPenList","_wxPenList",0},
1824 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1825 { "_wxTimeSpan","_class_wxTimeSpan",0},
1826 { "_wxFocusEvent","_class_wxFocusEvent",0},
1827 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1828 { "_class_wxTimerEvent","_wxTimerEvent",0},
1829 { "_class_wxSpinButton","_wxSpinButton",0},
1830 { "_class_wxCalendarEvent","_wxCalendarEvent",0},
1831 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1832 { "_class_wxPanel","_wxPanel",0},
1833 { "_class_wxCheckBox","_wxCheckBox",0},
1834 { "_wxComboBox","_class_wxComboBox",0},
1835 { "_wxRadioButton","_class_wxRadioButton",0},
1836 { "_signed_int","_wxCoord",0},
1837 { "_signed_int","_wxPrintQuality",0},
1838 { "_signed_int","_EBool",0},
1839 { "_signed_int","_wxWindowID",0},
1840 { "_signed_int","_int",0},
1841 { "_class_wxTextCtrl","_wxTextCtrl",0},
1842 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1843 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1844 { "_class_wxTextDataObject","_wxTextDataObject",0},
1845 { "_wxMenu","_class_wxMenu",0},
1846 { "_class_wxMoveEvent","_wxMoveEvent",0},
1847 { "_wxListBox","_class_wxListBox",0},
1848 { "_wxScreenDC","_class_wxScreenDC",0},
1849 { "_class_wxCalendarCtrl","_wxCalendarCtrl",0},
1850 { "_WXTYPE","_wxDateTime_t",0},
1851 { "_WXTYPE","_short",0},
1852 { "_WXTYPE","_signed_short",0},
1853 { "_WXTYPE","_unsigned_short",0},
1854 { "_class_wxDropTarget","_wxDropTarget",0},
1855 { "_class_wxBrush","_wxBrush",0},
1856 { "_unsigned_short","_wxDateTime_t",0},
1857 { "_unsigned_short","_WXTYPE",0},
1858 { "_unsigned_short","_short",0},
1859 { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1860 { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1861 { "_class_wxWindow","_wxWindow",0},
1862 { "_wxDateSpan","_class_wxDateSpan",0},
1863 { "_class_wxStaticText","_wxStaticText",0},
1864 { "_class_wxFont","_wxFont",0},
1865 { "_wxClipboard","_class_wxClipboard",0},
1866 { "_class_wxPyValidator","_wxPyValidator",0},
1867 { "_class_wxCloseEvent","_wxCloseEvent",0},
1868 { "_wxBusyInfo","_class_wxBusyInfo",0},
1869 { "_wxFontList","_class_wxFontList",0},
1870 { "_class_wxMenuEvent","_wxMenuEvent",0},
1871 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1872 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1873 { "_wxClientDC","_class_wxClientDC",0},
1874 { "_wxMouseEvent","_class_wxMouseEvent",0},
1875 { "_class_wxPoint","_wxPoint",0},
1876 { "_wxRealPoint","_class_wxRealPoint",0},
1877 { "_class_wxRadioBox","_wxRadioBox",0},
1878 { "_signed_short","_WXTYPE",0},
1879 { "_signed_short","_short",0},
1880 { "_wxMemoryDC","_class_wxMemoryDC",0},
1881 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1882 { "_wxPaintDC","_class_wxPaintDC",0},
1883 { "_class_wxWindowDC","_wxWindowDC",0},
1884 { "_class_wxFocusEvent","_wxFocusEvent",0},
1885 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1886 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1887 { "_class_wxCursor","_wxCursor",0},
1888 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1889 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1890 { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0},
1891 { "_unsigned_char","_byte",0},
1892 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1893 { "_class_wxMenu","_wxMenu",0},
1894 { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1895 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1896 { "_wxControl","_class_wxControl",0},
1897 { "_class_wxListBox","_wxListBox",0},
1898 { "_unsigned_int","_wxCoord",0},
1899 { "_unsigned_int","_wxPrintQuality",0},
1900 { "_unsigned_int","_time_t",0},
1901 { "_unsigned_int","_size_t",0},
1902 { "_unsigned_int","_uint",0},
1903 { "_unsigned_int","_wxWindowID",0},
1904 { "_unsigned_int","_int",0},
1905 { "_wxIcon","_class_wxIcon",0},
1906 { "_wxDialog","_class_wxDialog",0},
1907 { "_class_wxPen","_wxPen",0},
1908 { "_wxConfigBase","_class_wxConfigBase",0},
1909 { "_short","_wxDateTime_t",0},
1910 { "_short","_WXTYPE",0},
1911 { "_short","_unsigned_short",0},
1912 { "_short","_signed_short",0},
1913 { "_class_wxStaticBox","_wxStaticBox",0},
1914 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1915 { "_class_wxPyDropSource","_wxPyDropSource",0},
1916 { "_class_wxScrollEvent","_wxScrollEvent",0},
1917 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1918 { "_class_wxChoice","_wxChoice",0},
1919 { "_class_wxSlider","_wxSlider",0},
1920 { "_class_wxImageList","_wxImageList",0},
1921 { "_class_wxBitmapButton","_wxBitmapButton",0},
1922 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1923 { "_wxWindowID","_wxCoord",0},
1924 { "_wxWindowID","_wxPrintQuality",0},
1925 { "_wxWindowID","_time_t",0},
1926 { "_wxWindowID","_size_t",0},
1927 { "_wxWindowID","_EBool",0},
1928 { "_wxWindowID","_uint",0},
1929 { "_wxWindowID","_int",0},
1930 { "_wxWindowID","_signed_int",0},
1931 { "_wxWindowID","_unsigned_int",0},
1932 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1933 { "_int","_wxCoord",0},
1934 { "_int","_wxPrintQuality",0},
1935 { "_int","_time_t",0},
1936 { "_int","_size_t",0},
1937 { "_int","_EBool",0},
1938 { "_int","_uint",0},
1939 { "_int","_wxWindowID",0},
1940 { "_int","_unsigned_int",0},
1941 { "_int","_signed_int",0},
1942 { "_class_wxMouseEvent","_wxMouseEvent",0},
1943 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1944 { "_wxDateTime_t","_unsigned_short",0},
1945 { "_wxDateTime_t","_short",0},
1946 { "_wxDateTime_t","_WXTYPE",0},
1947 { "_class_wxSpinEvent","_wxSpinEvent",0},
1948 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1949 { "_wxDateTime","_class_wxDateTime",0},
1950 { "_time_t","_wxCoord",0},
1951 { "_time_t","_wxPrintQuality",0},
1952 { "_time_t","_unsigned_int",0},
1953 { "_time_t","_int",0},
1954 { "_time_t","_wxWindowID",0},
1955 { "_time_t","_uint",0},
1956 { "_time_t","_size_t",0},
1957 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1958 { "_wxButton","_class_wxButton",0},
1959 { "_wxSize","_class_wxSize",0},
1960 { "_wxRegionIterator","_class_wxRegionIterator",0},
1961 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1962 { "_class_wxTimeSpan","_wxTimeSpan",0},
1963 { "_class_wxPaintDC","_wxPaintDC",0},
1964 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1965 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1966 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1967 { "_class_wxComboBox","_wxComboBox",0},
1968 { "_class_wxRadioButton","_wxRadioButton",0},
1969 { "_wxValidator","_class_wxValidator",0},
1970 { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0},
1971 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1972 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1973 { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1974 { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1975 { "_class_wxControl","_wxControl",0},
1976 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1977 { "_class_wxIcon","_wxIcon",0},
1978 { "_class_wxColour","_wxColour",0},
1979 { "_class_wxScreenDC","_wxScreenDC",0},
1980 { "_wxPalette","_class_wxPalette",0},
1981 { "_class_wxIdleEvent","_wxIdleEvent",0},
1982 { "_class_wxConfigBase","_wxConfigBase",0},
1983 { "_wxCoord","_int",0},
1984 { "_wxCoord","_signed_int",0},
1985 { "_wxCoord","_unsigned_int",0},
1986 { "_wxCoord","_wxWindowID",0},
1987 { "_wxCoord","_uint",0},
1988 { "_wxCoord","_EBool",0},
1989 { "_wxCoord","_size_t",0},
1990 { "_wxCoord","_time_t",0},
1991 { "_wxCoord","_wxPrintQuality",0},
1992 { "_wxEraseEvent","_class_wxEraseEvent",0},
1993 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1994 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1995 { "_class_wxToggleButton","_wxToggleButton",0},
1996 { "_wxRegion","_class_wxRegion",0},
1997 { "_class_wxDateSpan","_wxDateSpan",0},
1998 { "_class_wxShowEvent","_wxShowEvent",0},
1999 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2000 { "_wxActivateEvent","_class_wxActivateEvent",0},
2001 { "_wxGauge","_class_wxGauge",0},
2002 { "_class_wxCheckListBox","_wxCheckListBox",0},
2003 { "_class_wxBusyInfo","_wxBusyInfo",0},
2004 { "_class_wxFontList","_wxFontList",0},
2005 { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2006 { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
2007 { "_class_wxCommandEvent","_wxCommandEvent",0},
2008 { "_class_wxClientDC","_wxClientDC",0},
2009 { "_class_wxSizeEvent","_wxSizeEvent",0},
2010 { "_wxBrushList","_class_wxBrushList",0},
2011 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2012 { "_class_wxSize","_wxSize",0},
2013 { "_class_wxBitmap","_wxBitmap",0},
2014 { "_class_wxMemoryDC","_wxMemoryDC",0},
2015 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2016 { "_wxMenuBar","_class_wxMenuBar",0},
2017 { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2018 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2019 { "_wxEvtHandler","_class_wxEvtHandler",0},
2020 { "_wxMenuItem","_class_wxMenuItem",0},
2021 { "_class_wxScrollBar","_wxScrollBar",0},
2022 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2023 { "_class_wxConfig","_wxConfig",0},
2024 { "_wxKeyEvent","_class_wxKeyEvent",0},
2025 { "_wxMoveEvent","_class_wxMoveEvent",0},
2026 { "_wxCalendarCtrl","_class_wxCalendarCtrl",0},
2027 { "_class_wxPalette","_wxPalette",0},
2028 { "_wxFileDataObject","_class_wxFileDataObject",0},
2029 { "_class_wxEraseEvent","_wxEraseEvent",0},
2030 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2031 { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2032 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2033 { "_wxWindow","_class_wxWindow",0},
2034 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2037 static PyObject
*SWIG_globals
;
2041 SWIGEXPORT(void) initcalendarc() {
2043 SWIG_globals
= SWIG_newvarlink();
2044 m
= Py_InitModule("calendarc", calendarcMethods
);
2045 d
= PyModule_GetDict(m
);
2046 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2047 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2048 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2049 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2050 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2051 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2052 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2053 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2054 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2055 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2056 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2057 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2058 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2059 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2060 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2061 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2062 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2064 wxClassInfo::CleanUpClasses();
2065 wxClassInfo::InitializeClasses();
2068 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2069 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);