2 * FILE : src/gtk/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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcalendarc
54 #define SWIG_name "calendarc"
57 #include <wx/calctrl.h>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
109 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
110 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
111 PyObject
* _resultobj
;
112 wxCalendarDateAttr
* _result
;
114 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
115 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
116 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
117 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
119 PyObject
* _obj0
= 0;
121 PyObject
* _obj1
= 0;
123 PyObject
* _obj2
= 0;
124 PyObject
* _argo3
= 0;
125 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
133 if (! wxColour_helper(_obj0
, &_arg0
))
139 if (! wxColour_helper(_obj1
, &_arg1
))
145 if (! wxColour_helper(_obj2
, &_arg2
))
149 if (_argo3
== Py_None
) { _arg3
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
159 wxPy_END_ALLOW_THREADS
;
161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
162 _resultobj
= Py_BuildValue("s",_ptemp
);
165 _resultobj
= Py_None
;
170 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
171 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
173 wxCalendarDateAttr
* _result
;
174 wxCalendarDateBorder _arg0
;
175 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
177 PyObject
* _obj1
= 0;
178 char *_kwnames
[] = { "border","colBorder", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
187 if (! wxColour_helper(_obj1
, &_arg1
))
191 wxPy_BEGIN_ALLOW_THREADS
;
192 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
194 wxPy_END_ALLOW_THREADS
;
196 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
197 _resultobj
= Py_BuildValue("s",_ptemp
);
200 _resultobj
= Py_None
;
205 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
206 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
208 wxCalendarDateAttr
* _arg0
;
210 PyObject
* _argo0
= 0;
212 PyObject
* _obj1
= 0;
213 char *_kwnames
[] = { "self","colText", NULL
};
216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
227 if (! wxColour_helper(_obj1
, &_arg1
))
231 wxPy_BEGIN_ALLOW_THREADS
;
232 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
234 wxPy_END_ALLOW_THREADS
;
235 } Py_INCREF(Py_None
);
236 _resultobj
= Py_None
;
240 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
241 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
243 wxCalendarDateAttr
* _arg0
;
245 PyObject
* _argo0
= 0;
247 PyObject
* _obj1
= 0;
248 char *_kwnames
[] = { "self","colBack", NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
262 if (! wxColour_helper(_obj1
, &_arg1
))
266 wxPy_BEGIN_ALLOW_THREADS
;
267 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
269 wxPy_END_ALLOW_THREADS
;
270 } Py_INCREF(Py_None
);
271 _resultobj
= Py_None
;
275 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
276 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
278 wxCalendarDateAttr
* _arg0
;
280 PyObject
* _argo0
= 0;
282 PyObject
* _obj1
= 0;
283 char *_kwnames
[] = { "self","col", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
297 if (! wxColour_helper(_obj1
, &_arg1
))
301 wxPy_BEGIN_ALLOW_THREADS
;
302 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
304 wxPy_END_ALLOW_THREADS
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
311 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
313 wxCalendarDateAttr
* _arg0
;
315 PyObject
* _argo0
= 0;
316 PyObject
* _argo1
= 0;
317 char *_kwnames
[] = { "self","font", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
337 wxPy_BEGIN_ALLOW_THREADS
;
338 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
340 wxPy_END_ALLOW_THREADS
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
347 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
349 wxCalendarDateAttr
* _arg0
;
350 wxCalendarDateBorder _arg1
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self","border", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
368 wxPy_END_ALLOW_THREADS
;
369 } Py_INCREF(Py_None
);
370 _resultobj
= Py_None
;
374 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
375 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
377 wxCalendarDateAttr
* _arg0
;
379 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self","holiday", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
393 _arg1
= (bool ) tempbool1
;
395 wxPy_BEGIN_ALLOW_THREADS
;
396 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
398 wxPy_END_ALLOW_THREADS
;
399 } Py_INCREF(Py_None
);
400 _resultobj
= Py_None
;
404 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
405 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
408 wxCalendarDateAttr
* _arg0
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
426 wxPy_END_ALLOW_THREADS
;
427 } _resultobj
= Py_BuildValue("i",_result
);
431 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
432 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
435 wxCalendarDateAttr
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
453 wxPy_END_ALLOW_THREADS
;
454 } _resultobj
= Py_BuildValue("i",_result
);
458 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
459 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
462 wxCalendarDateAttr
* _arg0
;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
477 wxPy_BEGIN_ALLOW_THREADS
;
478 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
480 wxPy_END_ALLOW_THREADS
;
481 } _resultobj
= Py_BuildValue("i",_result
);
485 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
486 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
489 wxCalendarDateAttr
* _arg0
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
504 wxPy_BEGIN_ALLOW_THREADS
;
505 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
507 wxPy_END_ALLOW_THREADS
;
508 } _resultobj
= Py_BuildValue("i",_result
);
512 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
513 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
516 wxCalendarDateAttr
* _arg0
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self", NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
531 wxPy_BEGIN_ALLOW_THREADS
;
532 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
534 wxPy_END_ALLOW_THREADS
;
535 } _resultobj
= Py_BuildValue("i",_result
);
539 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
540 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 wxCalendarDateAttr
* _arg0
;
544 PyObject
* _argo0
= 0;
545 char *_kwnames
[] = { "self", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
558 wxPy_BEGIN_ALLOW_THREADS
;
559 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
561 wxPy_END_ALLOW_THREADS
;
562 } _resultobj
= Py_BuildValue("i",_result
);
566 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
567 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
570 wxCalendarDateAttr
* _arg0
;
571 PyObject
* _argo0
= 0;
572 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
588 _result
= (wxColour
*) &_result_ref
;
590 wxPy_END_ALLOW_THREADS
;
592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
596 _resultobj
= Py_None
;
601 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
602 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
605 wxCalendarDateAttr
* _arg0
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBackgroundColour(_arg0
);
623 _result
= (wxColour
*) &_result_ref
;
625 wxPy_END_ALLOW_THREADS
;
627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
628 _resultobj
= Py_BuildValue("s",_ptemp
);
631 _resultobj
= Py_None
;
636 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
637 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
640 wxCalendarDateAttr
* _arg0
;
641 PyObject
* _argo0
= 0;
642 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
658 _result
= (wxColour
*) &_result_ref
;
660 wxPy_END_ALLOW_THREADS
;
662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
663 _resultobj
= Py_BuildValue("s",_ptemp
);
666 _resultobj
= Py_None
;
671 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
672 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
675 wxCalendarDateAttr
* _arg0
;
676 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
693 _result
= (wxFont
*) &_result_ref
;
695 wxPy_END_ALLOW_THREADS
;
697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
698 _resultobj
= Py_BuildValue("s",_ptemp
);
701 _resultobj
= Py_None
;
706 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
707 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
709 wxCalendarDateBorder _result
;
710 wxCalendarDateAttr
* _arg0
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
725 wxPy_BEGIN_ALLOW_THREADS
;
726 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
728 wxPy_END_ALLOW_THREADS
;
729 } _resultobj
= Py_BuildValue("i",_result
);
733 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
734 wxCalendarEvent
*src
;
735 wxCommandEvent
*dest
;
736 src
= (wxCalendarEvent
*) ptr
;
737 dest
= (wxCommandEvent
*) src
;
738 return (void *) dest
;
741 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
742 wxCalendarEvent
*src
;
744 src
= (wxCalendarEvent
*) ptr
;
745 dest
= (wxEvent
*) src
;
746 return (void *) dest
;
749 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
750 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
752 wxCalendarEvent
* _result
;
753 wxCalendarCtrl
* _arg0
;
755 PyObject
* _argo0
= 0;
756 char *_kwnames
[] = { "cal","type", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
773 wxPy_END_ALLOW_THREADS
;
775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
776 _resultobj
= Py_BuildValue("s",_ptemp
);
779 _resultobj
= Py_None
;
784 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
785 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
787 wxDateTime
* _result
;
788 wxCalendarEvent
* _arg0
;
789 PyObject
* _argo0
= 0;
790 char *_kwnames
[] = { "self", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
806 _result
= (wxDateTime
*) &_result_ref
;
808 wxPy_END_ALLOW_THREADS
;
810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
811 _resultobj
= Py_BuildValue("s",_ptemp
);
814 _resultobj
= Py_None
;
819 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
820 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
822 wxDateTime::WeekDay _result
;
823 wxCalendarEvent
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
841 wxPy_END_ALLOW_THREADS
;
842 } _resultobj
= Py_BuildValue("i",_result
);
846 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
849 src
= (wxCalendarCtrl
*) ptr
;
850 dest
= (wxControl
*) src
;
851 return (void *) dest
;
854 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
857 src
= (wxCalendarCtrl
*) ptr
;
858 dest
= (wxWindow
*) src
;
859 return (void *) dest
;
862 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
865 src
= (wxCalendarCtrl
*) ptr
;
866 dest
= (wxEvtHandler
*) src
;
867 return (void *) dest
;
870 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
871 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
873 wxCalendarCtrl
* _result
;
876 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
877 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
878 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
879 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
);
880 char * _arg6
= (char *) "calendar";
881 PyObject
* _argo0
= 0;
882 PyObject
* _argo2
= 0;
884 PyObject
* _obj3
= 0;
886 PyObject
* _obj4
= 0;
887 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
901 if (_argo2
== Py_None
) { _arg2
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
910 if (! wxPoint_helper(_obj3
, &_arg3
))
916 if (! wxSize_helper(_obj4
, &_arg4
))
920 wxPy_BEGIN_ALLOW_THREADS
;
921 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
923 wxPy_END_ALLOW_THREADS
;
925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
926 _resultobj
= Py_BuildValue("s",_ptemp
);
929 _resultobj
= Py_None
;
934 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
935 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxCalendarCtrl
* _arg0
;
939 PyObject
* _argo0
= 0;
940 PyObject
* _argo1
= 0;
941 char *_kwnames
[] = { "self","date", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
964 wxPy_END_ALLOW_THREADS
;
965 } Py_INCREF(Py_None
);
966 _resultobj
= Py_None
;
970 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
971 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
973 wxDateTime
* _result
;
974 wxCalendarCtrl
* _arg0
;
975 PyObject
* _argo0
= 0;
976 char *_kwnames
[] = { "self", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
990 wxPy_BEGIN_ALLOW_THREADS
;
991 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
992 _result
= (wxDateTime
*) &_result_ref
;
994 wxPy_END_ALLOW_THREADS
;
996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1000 _resultobj
= Py_None
;
1005 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1006 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1008 wxCalendarCtrl
* _arg0
;
1009 bool _arg1
= (bool ) TRUE
;
1010 PyObject
* _argo0
= 0;
1011 int tempbool1
= (int) TRUE
;
1012 char *_kwnames
[] = { "self","enable", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1024 _arg1
= (bool ) tempbool1
;
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1035 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1036 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxCalendarCtrl
* _arg0
;
1039 bool _arg1
= (bool ) TRUE
;
1040 PyObject
* _argo0
= 0;
1041 int tempbool1
= (int) TRUE
;
1042 char *_kwnames
[] = { "self","enable", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1054 _arg1
= (bool ) tempbool1
;
1056 wxPy_BEGIN_ALLOW_THREADS
;
1057 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1059 wxPy_END_ALLOW_THREADS
;
1060 } Py_INCREF(Py_None
);
1061 _resultobj
= Py_None
;
1065 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1066 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1068 wxCalendarCtrl
* _arg0
;
1069 bool _arg1
= (bool ) TRUE
;
1070 PyObject
* _argo0
= 0;
1071 int tempbool1
= (int) TRUE
;
1072 char *_kwnames
[] = { "self","display", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1084 _arg1
= (bool ) tempbool1
;
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1096 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1098 wxCalendarCtrl
* _arg0
;
1101 PyObject
* _argo0
= 0;
1103 PyObject
* _obj1
= 0;
1105 PyObject
* _obj2
= 0;
1106 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1120 if (! wxColour_helper(_obj1
, &_arg1
))
1125 if (! wxColour_helper(_obj2
, &_arg2
))
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } Py_INCREF(Py_None
);
1134 _resultobj
= Py_None
;
1138 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1139 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1142 wxCalendarCtrl
* _arg0
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1160 _result
= (wxColour
*) &_result_ref
;
1162 wxPy_END_ALLOW_THREADS
;
1164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1165 _resultobj
= Py_BuildValue("s",_ptemp
);
1168 _resultobj
= Py_None
;
1173 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1174 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1177 wxCalendarCtrl
* _arg0
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1195 _result
= (wxColour
*) &_result_ref
;
1197 wxPy_END_ALLOW_THREADS
;
1199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1200 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 _resultobj
= Py_None
;
1208 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1209 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1211 wxCalendarCtrl
* _arg0
;
1214 PyObject
* _argo0
= 0;
1216 PyObject
* _obj1
= 0;
1218 PyObject
* _obj2
= 0;
1219 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1233 if (! wxColour_helper(_obj1
, &_arg1
))
1238 if (! wxColour_helper(_obj2
, &_arg2
))
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1251 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1252 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1255 wxCalendarCtrl
* _arg0
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1273 _result
= (wxColour
*) &_result_ref
;
1275 wxPy_END_ALLOW_THREADS
;
1277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1278 _resultobj
= Py_BuildValue("s",_ptemp
);
1281 _resultobj
= Py_None
;
1286 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1287 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1290 wxCalendarCtrl
* _arg0
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1308 _result
= (wxColour
*) &_result_ref
;
1310 wxPy_END_ALLOW_THREADS
;
1312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1313 _resultobj
= Py_BuildValue("s",_ptemp
);
1316 _resultobj
= Py_None
;
1321 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1322 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxCalendarCtrl
* _arg0
;
1327 PyObject
* _argo0
= 0;
1329 PyObject
* _obj1
= 0;
1331 PyObject
* _obj2
= 0;
1332 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1346 if (! wxColour_helper(_obj1
, &_arg1
))
1351 if (! wxColour_helper(_obj2
, &_arg2
))
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } Py_INCREF(Py_None
);
1360 _resultobj
= Py_None
;
1364 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1365 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1368 wxCalendarCtrl
* _arg0
;
1369 PyObject
* _argo0
= 0;
1370 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1386 _result
= (wxColour
*) &_result_ref
;
1388 wxPy_END_ALLOW_THREADS
;
1390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1391 _resultobj
= Py_BuildValue("s",_ptemp
);
1394 _resultobj
= Py_None
;
1399 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1400 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxCalendarCtrl
* _arg0
;
1404 PyObject
* _argo0
= 0;
1405 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1421 _result
= (wxColour
*) &_result_ref
;
1423 wxPy_END_ALLOW_THREADS
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1435 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxCalendarDateAttr
* _result
;
1438 wxCalendarCtrl
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","day", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1455 wxPy_BEGIN_ALLOW_THREADS
;
1456 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1458 wxPy_END_ALLOW_THREADS
;
1460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1461 _resultobj
= Py_BuildValue("s",_ptemp
);
1464 _resultobj
= Py_None
;
1469 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1470 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1472 wxCalendarCtrl
* _arg0
;
1474 wxCalendarDateAttr
* _arg2
;
1475 PyObject
* _argo0
= 0;
1476 PyObject
* _argo2
= 0;
1477 char *_kwnames
[] = { "self","day","attr", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1490 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1507 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1509 wxCalendarCtrl
* _arg0
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self","day", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1528 wxPy_END_ALLOW_THREADS
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1535 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxCalendarCtrl
* _arg0
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self","day", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } Py_INCREF(Py_None
);
1558 _resultobj
= Py_None
;
1562 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1563 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxCalendarHitTestResult _result
;
1566 wxCalendarCtrl
* _arg0
;
1568 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1569 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1570 PyObject
* _argo0
= 0;
1572 PyObject
* _obj1
= 0;
1573 PyObject
* _argo2
= 0;
1574 PyObject
* _argo3
= 0;
1575 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1589 if (! wxPoint_helper(_obj1
, &_arg1
))
1593 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1600 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1601 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1610 wxPy_END_ALLOW_THREADS
;
1611 } _resultobj
= Py_BuildValue("i",_result
);
1615 static PyMethodDef calendarcMethods
[] = {
1616 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1617 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1618 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1619 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1620 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1621 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1622 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1623 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1624 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1625 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1626 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1627 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1628 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1629 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1630 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1631 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1632 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1633 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1634 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1635 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1636 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1637 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1638 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1639 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1640 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1641 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1642 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1664 * This table is used by the pointer type-checker
1666 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1667 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1668 { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1669 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1670 { "_wxEvent","_class_wxEvent",0},
1671 { "_class_wxActivateEvent","_wxActivateEvent",0},
1672 { "_signed_long","_long",0},
1673 { "_wxMenuEvent","_class_wxMenuEvent",0},
1674 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1675 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1676 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1677 { "_class_wxDateTime","_wxDateTime",0},
1678 { "_wxPrintQuality","_wxCoord",0},
1679 { "_wxPrintQuality","_int",0},
1680 { "_wxPrintQuality","_signed_int",0},
1681 { "_wxPrintQuality","_unsigned_int",0},
1682 { "_wxPrintQuality","_wxWindowID",0},
1683 { "_wxPrintQuality","_uint",0},
1684 { "_wxPrintQuality","_EBool",0},
1685 { "_wxPrintQuality","_size_t",0},
1686 { "_wxPrintQuality","_time_t",0},
1687 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
1688 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
1689 { "_class_wxRegionIterator","_wxRegionIterator",0},
1690 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
1691 { "_class_wxMenuBar","_wxMenuBar",0},
1692 { "_class_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1693 { "_class_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1694 { "_class_wxEvtHandler","_wxEvtHandler",0},
1695 { "_wxPaintEvent","_class_wxPaintEvent",0},
1696 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1697 { "_wxCursor","_class_wxCursor",0},
1698 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1699 { "_wxMask","_class_wxMask",0},
1700 { "_wxPen","_class_wxPen",0},
1701 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1702 { "_byte","_unsigned_char",0},
1703 { "_wxDataObject","_class_wxDataObject",0},
1704 { "_wxStaticBox","_class_wxStaticBox",0},
1705 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
1706 { "_wxPyDropSource","_class_wxPyDropSource",0},
1707 { "_wxChoice","_class_wxChoice",0},
1708 { "_wxSlider","_class_wxSlider",0},
1709 { "_long","_unsigned_long",0},
1710 { "_long","_signed_long",0},
1711 { "_wxImageList","_class_wxImageList",0},
1712 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
1713 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1714 { "_wxBitmapButton","_class_wxBitmapButton",0},
1715 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1716 { "_class_wxClipboard","_wxClipboard",0},
1717 { "_class_wxGauge","_wxGauge",0},
1718 { "_wxDC","_class_wxDC",0},
1719 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
1720 { "_wxSpinEvent","_class_wxSpinEvent",0},
1721 { "_size_t","_wxCoord",0},
1722 { "_size_t","_wxPrintQuality",0},
1723 { "_size_t","_time_t",0},
1724 { "_size_t","_unsigned_int",0},
1725 { "_size_t","_int",0},
1726 { "_size_t","_wxWindowID",0},
1727 { "_size_t","_uint",0},
1728 { "_class_wxRealPoint","_wxRealPoint",0},
1729 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1730 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1731 { "_class_wxMenuItem","_wxMenuItem",0},
1732 { "_class_wxPaintEvent","_wxPaintEvent",0},
1733 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1734 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1735 { "_wxPanel","_class_wxPanel",0},
1736 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1737 { "_wxCheckBox","_class_wxCheckBox",0},
1738 { "_wxPyEvent","_class_wxPyEvent",0},
1739 { "_wxTextCtrl","_class_wxTextCtrl",0},
1740 { "_class_wxMask","_wxMask",0},
1741 { "_wxTextDataObject","_class_wxTextDataObject",0},
1742 { "_class_wxKeyEvent","_wxKeyEvent",0},
1743 { "_wxFileConfig","_class_wxFileConfig",0},
1744 { "_wxColour","_class_wxColour",0},
1745 { "_class_wxDialog","_wxDialog",0},
1746 { "_class_wxFileDataObject","_wxFileDataObject",0},
1747 { "_wxIdleEvent","_class_wxIdleEvent",0},
1748 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1749 { "_class_wxDataObject","_wxDataObject",0},
1750 { "_wxStaticLine","_class_wxStaticLine",0},
1751 { "_wxBrush","_class_wxBrush",0},
1752 { "_wxDataFormat","_class_wxDataFormat",0},
1753 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1754 { "_wxShowEvent","_class_wxShowEvent",0},
1755 { "_uint","_wxCoord",0},
1756 { "_uint","_wxPrintQuality",0},
1757 { "_uint","_time_t",0},
1758 { "_uint","_size_t",0},
1759 { "_uint","_unsigned_int",0},
1760 { "_uint","_int",0},
1761 { "_uint","_wxWindowID",0},
1762 { "_wxChar","_char",0},
1763 { "_wxPyValidator","_class_wxPyValidator",0},
1764 { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1765 { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1766 { "_class_wxEvent","_wxEvent",0},
1767 { "_wxCheckListBox","_class_wxCheckListBox",0},
1768 { "_wxRect","_class_wxRect",0},
1769 { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1770 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1771 { "_wxCommandEvent","_class_wxCommandEvent",0},
1772 { "_wxSizeEvent","_class_wxSizeEvent",0},
1773 { "_wxPoint","_class_wxPoint",0},
1774 { "_class_wxButton","_wxButton",0},
1775 { "_wxRadioBox","_class_wxRadioBox",0},
1776 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1777 { "_char","_wxChar",0},
1778 { "_wxBitmap","_class_wxBitmap",0},
1779 { "_wxWindowDC","_class_wxWindowDC",0},
1780 { "_wxTimerEvent","_class_wxTimerEvent",0},
1781 { "_wxScrollBar","_class_wxScrollBar",0},
1782 { "_wxSpinButton","_class_wxSpinButton",0},
1783 { "_wxCalendarEvent","_class_wxCalendarEvent",0},
1784 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1785 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1786 { "_class_wxValidator","_wxValidator",0},
1787 { "_class_wxPyEvent","_wxPyEvent",0},
1788 { "_wxConfig","_class_wxConfig",0},
1789 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1790 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1791 { "_class_wxFileConfig","_wxFileConfig",0},
1792 { "_wxDropTarget","_class_wxDropTarget",0},
1793 { "_class_wxStaticLine","_wxStaticLine",0},
1794 { "_wxScrollEvent","_class_wxScrollEvent",0},
1795 { "_EBool","_wxCoord",0},
1796 { "_EBool","_wxPrintQuality",0},
1797 { "_EBool","_signed_int",0},
1798 { "_EBool","_int",0},
1799 { "_EBool","_wxWindowID",0},
1800 { "_class_wxRegion","_wxRegion",0},
1801 { "_class_wxDataFormat","_wxDataFormat",0},
1802 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1803 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1804 { "_wxStaticText","_class_wxStaticText",0},
1805 { "_wxFont","_class_wxFont",0},
1806 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1807 { "_wxCloseEvent","_class_wxCloseEvent",0},
1808 { "_unsigned_long","_long",0},
1809 { "_class_wxRect","_wxRect",0},
1810 { "_class_wxDC","_wxDC",0},
1811 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1812 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1813 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1814 { "_wxTimeSpan","_class_wxTimeSpan",0},
1815 { "_wxFocusEvent","_class_wxFocusEvent",0},
1816 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1817 { "_class_wxTimerEvent","_wxTimerEvent",0},
1818 { "_class_wxSpinButton","_wxSpinButton",0},
1819 { "_class_wxCalendarEvent","_wxCalendarEvent",0},
1820 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1821 { "_class_wxPanel","_wxPanel",0},
1822 { "_class_wxCheckBox","_wxCheckBox",0},
1823 { "_wxComboBox","_class_wxComboBox",0},
1824 { "_wxRadioButton","_class_wxRadioButton",0},
1825 { "_signed_int","_wxCoord",0},
1826 { "_signed_int","_wxPrintQuality",0},
1827 { "_signed_int","_EBool",0},
1828 { "_signed_int","_wxWindowID",0},
1829 { "_signed_int","_int",0},
1830 { "_class_wxTextCtrl","_wxTextCtrl",0},
1831 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1832 { "_class_wxTextDataObject","_wxTextDataObject",0},
1833 { "_wxMenu","_class_wxMenu",0},
1834 { "_class_wxMoveEvent","_wxMoveEvent",0},
1835 { "_wxListBox","_class_wxListBox",0},
1836 { "_wxScreenDC","_class_wxScreenDC",0},
1837 { "_class_wxCalendarCtrl","_wxCalendarCtrl",0},
1838 { "_WXTYPE","_wxDateTime_t",0},
1839 { "_WXTYPE","_short",0},
1840 { "_WXTYPE","_signed_short",0},
1841 { "_WXTYPE","_unsigned_short",0},
1842 { "_class_wxDropTarget","_wxDropTarget",0},
1843 { "_class_wxBrush","_wxBrush",0},
1844 { "_unsigned_short","_wxDateTime_t",0},
1845 { "_unsigned_short","_WXTYPE",0},
1846 { "_unsigned_short","_short",0},
1847 { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1848 { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1849 { "_class_wxWindow","_wxWindow",0},
1850 { "_wxDateSpan","_class_wxDateSpan",0},
1851 { "_class_wxStaticText","_wxStaticText",0},
1852 { "_class_wxFont","_wxFont",0},
1853 { "_wxClipboard","_class_wxClipboard",0},
1854 { "_class_wxPyValidator","_wxPyValidator",0},
1855 { "_class_wxCloseEvent","_wxCloseEvent",0},
1856 { "_wxBusyInfo","_class_wxBusyInfo",0},
1857 { "_class_wxMenuEvent","_wxMenuEvent",0},
1858 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1859 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1860 { "_wxClientDC","_class_wxClientDC",0},
1861 { "_wxMouseEvent","_class_wxMouseEvent",0},
1862 { "_class_wxPoint","_wxPoint",0},
1863 { "_wxRealPoint","_class_wxRealPoint",0},
1864 { "_class_wxRadioBox","_wxRadioBox",0},
1865 { "_signed_short","_WXTYPE",0},
1866 { "_signed_short","_short",0},
1867 { "_wxMemoryDC","_class_wxMemoryDC",0},
1868 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1869 { "_wxPaintDC","_class_wxPaintDC",0},
1870 { "_class_wxWindowDC","_wxWindowDC",0},
1871 { "_class_wxFocusEvent","_wxFocusEvent",0},
1872 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1873 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1874 { "_class_wxCursor","_wxCursor",0},
1875 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1876 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1877 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1878 { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0},
1879 { "_unsigned_char","_byte",0},
1880 { "_class_wxMenu","_wxMenu",0},
1881 { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1882 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1883 { "_wxControl","_class_wxControl",0},
1884 { "_class_wxListBox","_wxListBox",0},
1885 { "_unsigned_int","_wxCoord",0},
1886 { "_unsigned_int","_wxPrintQuality",0},
1887 { "_unsigned_int","_time_t",0},
1888 { "_unsigned_int","_size_t",0},
1889 { "_unsigned_int","_uint",0},
1890 { "_unsigned_int","_wxWindowID",0},
1891 { "_unsigned_int","_int",0},
1892 { "_wxIcon","_class_wxIcon",0},
1893 { "_wxDialog","_class_wxDialog",0},
1894 { "_class_wxPen","_wxPen",0},
1895 { "_wxConfigBase","_class_wxConfigBase",0},
1896 { "_short","_wxDateTime_t",0},
1897 { "_short","_WXTYPE",0},
1898 { "_short","_unsigned_short",0},
1899 { "_short","_signed_short",0},
1900 { "_class_wxStaticBox","_wxStaticBox",0},
1901 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1902 { "_class_wxPyDropSource","_wxPyDropSource",0},
1903 { "_class_wxScrollEvent","_wxScrollEvent",0},
1904 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1905 { "_class_wxChoice","_wxChoice",0},
1906 { "_class_wxSlider","_wxSlider",0},
1907 { "_class_wxImageList","_wxImageList",0},
1908 { "_class_wxBitmapButton","_wxBitmapButton",0},
1909 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1910 { "_wxWindowID","_wxCoord",0},
1911 { "_wxWindowID","_wxPrintQuality",0},
1912 { "_wxWindowID","_time_t",0},
1913 { "_wxWindowID","_size_t",0},
1914 { "_wxWindowID","_EBool",0},
1915 { "_wxWindowID","_uint",0},
1916 { "_wxWindowID","_int",0},
1917 { "_wxWindowID","_signed_int",0},
1918 { "_wxWindowID","_unsigned_int",0},
1919 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1920 { "_int","_wxCoord",0},
1921 { "_int","_wxPrintQuality",0},
1922 { "_int","_time_t",0},
1923 { "_int","_size_t",0},
1924 { "_int","_EBool",0},
1925 { "_int","_uint",0},
1926 { "_int","_wxWindowID",0},
1927 { "_int","_unsigned_int",0},
1928 { "_int","_signed_int",0},
1929 { "_class_wxMouseEvent","_wxMouseEvent",0},
1930 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1931 { "_wxDateTime_t","_unsigned_short",0},
1932 { "_wxDateTime_t","_short",0},
1933 { "_wxDateTime_t","_WXTYPE",0},
1934 { "_class_wxSpinEvent","_wxSpinEvent",0},
1935 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1936 { "_wxDateTime","_class_wxDateTime",0},
1937 { "_time_t","_wxCoord",0},
1938 { "_time_t","_wxPrintQuality",0},
1939 { "_time_t","_unsigned_int",0},
1940 { "_time_t","_int",0},
1941 { "_time_t","_wxWindowID",0},
1942 { "_time_t","_uint",0},
1943 { "_time_t","_size_t",0},
1944 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1945 { "_wxButton","_class_wxButton",0},
1946 { "_wxSize","_class_wxSize",0},
1947 { "_wxRegionIterator","_class_wxRegionIterator",0},
1948 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1949 { "_class_wxTimeSpan","_wxTimeSpan",0},
1950 { "_class_wxPaintDC","_wxPaintDC",0},
1951 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1952 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1953 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1954 { "_class_wxComboBox","_wxComboBox",0},
1955 { "_class_wxRadioButton","_wxRadioButton",0},
1956 { "_wxValidator","_class_wxValidator",0},
1957 { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0},
1958 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1959 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1960 { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1961 { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1962 { "_class_wxControl","_wxControl",0},
1963 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1964 { "_class_wxIcon","_wxIcon",0},
1965 { "_class_wxColour","_wxColour",0},
1966 { "_class_wxScreenDC","_wxScreenDC",0},
1967 { "_wxPalette","_class_wxPalette",0},
1968 { "_class_wxIdleEvent","_wxIdleEvent",0},
1969 { "_class_wxConfigBase","_wxConfigBase",0},
1970 { "_wxCoord","_int",0},
1971 { "_wxCoord","_signed_int",0},
1972 { "_wxCoord","_unsigned_int",0},
1973 { "_wxCoord","_wxWindowID",0},
1974 { "_wxCoord","_uint",0},
1975 { "_wxCoord","_EBool",0},
1976 { "_wxCoord","_size_t",0},
1977 { "_wxCoord","_time_t",0},
1978 { "_wxCoord","_wxPrintQuality",0},
1979 { "_wxEraseEvent","_class_wxEraseEvent",0},
1980 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1981 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1982 { "_wxRegion","_class_wxRegion",0},
1983 { "_class_wxDateSpan","_wxDateSpan",0},
1984 { "_class_wxShowEvent","_wxShowEvent",0},
1985 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1986 { "_wxActivateEvent","_class_wxActivateEvent",0},
1987 { "_wxGauge","_class_wxGauge",0},
1988 { "_class_wxCheckListBox","_wxCheckListBox",0},
1989 { "_class_wxBusyInfo","_wxBusyInfo",0},
1990 { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1991 { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1992 { "_class_wxCommandEvent","_wxCommandEvent",0},
1993 { "_class_wxClientDC","_wxClientDC",0},
1994 { "_class_wxSizeEvent","_wxSizeEvent",0},
1995 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1996 { "_class_wxSize","_wxSize",0},
1997 { "_class_wxBitmap","_wxBitmap",0},
1998 { "_class_wxMemoryDC","_wxMemoryDC",0},
1999 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2000 { "_wxMenuBar","_class_wxMenuBar",0},
2001 { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2002 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
2003 { "_wxEvtHandler","_class_wxEvtHandler",0},
2004 { "_wxMenuItem","_class_wxMenuItem",0},
2005 { "_class_wxScrollBar","_wxScrollBar",0},
2006 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2007 { "_class_wxConfig","_wxConfig",0},
2008 { "_wxKeyEvent","_class_wxKeyEvent",0},
2009 { "_wxMoveEvent","_class_wxMoveEvent",0},
2010 { "_wxCalendarCtrl","_class_wxCalendarCtrl",0},
2011 { "_class_wxPalette","_wxPalette",0},
2012 { "_wxFileDataObject","_class_wxFileDataObject",0},
2013 { "_class_wxEraseEvent","_wxEraseEvent",0},
2014 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2015 { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2016 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2017 { "_wxWindow","_class_wxWindow",0},
2018 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2021 static PyObject
*SWIG_globals
;
2025 SWIGEXPORT(void) initcalendarc() {
2027 SWIG_globals
= SWIG_newvarlink();
2028 m
= Py_InitModule("calendarc", calendarcMethods
);
2029 d
= PyModule_GetDict(m
);
2030 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2031 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2032 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2033 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2034 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2035 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2036 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2037 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2038 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2039 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2040 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2041 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2042 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2043 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2044 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2045 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2046 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2048 wxClassInfo::CleanUpClasses();
2049 wxClassInfo::InitializeClasses();
2052 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2053 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);