2 * FILE : msw/calendar.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
110 #define new_wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxCalendarDateAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
111 static PyObject
*_wrap_new_wxCalendarDateAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
112 PyObject
* _resultobj
;
113 wxCalendarDateAttr
* _result
;
115 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
116 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
117 wxFont
* _arg3
= (wxFont
*) &wxNullFont
;
118 wxCalendarDateBorder _arg4
= (wxCalendarDateBorder
) (wxCAL_BORDER_NONE
);
120 PyObject
* _obj0
= 0;
122 PyObject
* _obj1
= 0;
124 PyObject
* _obj2
= 0;
125 PyObject
* _argo3
= 0;
126 char *_kwnames
[] = { "colText","colBack","colBorder","font","border", NULL
};
130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOi:new_wxCalendarDateAttr",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
))
134 if (! wxColour_helper(_obj0
, &_arg0
))
140 if (! wxColour_helper(_obj1
, &_arg1
))
146 if (! wxColour_helper(_obj2
, &_arg2
))
150 if (_argo3
== Py_None
) { _arg3
= NULL
; }
151 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCalendarDateAttr. Expected _wxFont_p.");
157 wxPy_BEGIN_ALLOW_THREADS
;
158 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttr(*_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
);
160 wxPy_END_ALLOW_THREADS
;
162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
163 _resultobj
= Py_BuildValue("s",_ptemp
);
166 _resultobj
= Py_None
;
171 #define new_wxCalendarDateAttrBorder(_swigarg0,_swigarg1) (new wxCalendarDateAttr(_swigarg0,_swigarg1))
172 static PyObject
*_wrap_new_wxCalendarDateAttrBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
173 PyObject
* _resultobj
;
174 wxCalendarDateAttr
* _result
;
175 wxCalendarDateBorder _arg0
;
176 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
178 PyObject
* _obj1
= 0;
179 char *_kwnames
[] = { "border","colBorder", NULL
};
183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|O:new_wxCalendarDateAttrBorder",_kwnames
,&_arg0
,&_obj1
))
188 if (! wxColour_helper(_obj1
, &_arg1
))
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (wxCalendarDateAttr
*)new_wxCalendarDateAttrBorder(_arg0
,*_arg1
);
195 wxPy_END_ALLOW_THREADS
;
197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
198 _resultobj
= Py_BuildValue("s",_ptemp
);
201 _resultobj
= Py_None
;
206 #define wxCalendarDateAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
207 static PyObject
*_wrap_wxCalendarDateAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
209 wxCalendarDateAttr
* _arg0
;
211 PyObject
* _argo0
= 0;
213 PyObject
* _obj1
= 0;
214 char *_kwnames
[] = { "self","colText", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetTextColour. Expected _wxCalendarDateAttr_p.");
228 if (! wxColour_helper(_obj1
, &_arg1
))
232 wxPy_BEGIN_ALLOW_THREADS
;
233 wxCalendarDateAttr_SetTextColour(_arg0
,*_arg1
);
235 wxPy_END_ALLOW_THREADS
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 #define wxCalendarDateAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
242 static PyObject
*_wrap_wxCalendarDateAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
244 wxCalendarDateAttr
* _arg0
;
246 PyObject
* _argo0
= 0;
248 PyObject
* _obj1
= 0;
249 char *_kwnames
[] = { "self","colBack", NULL
};
252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBackgroundColour. Expected _wxCalendarDateAttr_p.");
263 if (! wxColour_helper(_obj1
, &_arg1
))
267 wxPy_BEGIN_ALLOW_THREADS
;
268 wxCalendarDateAttr_SetBackgroundColour(_arg0
,*_arg1
);
270 wxPy_END_ALLOW_THREADS
;
271 } Py_INCREF(Py_None
);
272 _resultobj
= Py_None
;
276 #define wxCalendarDateAttr_SetBorderColour(_swigobj,_swigarg0) (_swigobj->SetBorderColour(_swigarg0))
277 static PyObject
*_wrap_wxCalendarDateAttr_SetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 wxCalendarDateAttr
* _arg0
;
281 PyObject
* _argo0
= 0;
283 PyObject
* _obj1
= 0;
284 char *_kwnames
[] = { "self","col", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetBorderColour",_kwnames
,&_argo0
,&_obj1
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorderColour. Expected _wxCalendarDateAttr_p.");
298 if (! wxColour_helper(_obj1
, &_arg1
))
302 wxPy_BEGIN_ALLOW_THREADS
;
303 wxCalendarDateAttr_SetBorderColour(_arg0
,*_arg1
);
305 wxPy_END_ALLOW_THREADS
;
306 } Py_INCREF(Py_None
);
307 _resultobj
= Py_None
;
311 #define wxCalendarDateAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
312 static PyObject
*_wrap_wxCalendarDateAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxCalendarDateAttr
* _arg0
;
316 PyObject
* _argo0
= 0;
317 PyObject
* _argo1
= 0;
318 char *_kwnames
[] = { "self","font", NULL
};
321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarDateAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetFont. Expected _wxCalendarDateAttr_p.");
331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarDateAttr_SetFont. Expected _wxFont_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 wxCalendarDateAttr_SetFont(_arg0
,*_arg1
);
341 wxPy_END_ALLOW_THREADS
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxCalendarDateAttr_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
348 static PyObject
*_wrap_wxCalendarDateAttr_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxCalendarDateAttr
* _arg0
;
351 wxCalendarDateBorder _arg1
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self","border", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetBorder",_kwnames
,&_argo0
,&_arg1
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetBorder. Expected _wxCalendarDateAttr_p.");
366 wxPy_BEGIN_ALLOW_THREADS
;
367 wxCalendarDateAttr_SetBorder(_arg0
,_arg1
);
369 wxPy_END_ALLOW_THREADS
;
370 } Py_INCREF(Py_None
);
371 _resultobj
= Py_None
;
375 #define wxCalendarDateAttr_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
376 static PyObject
*_wrap_wxCalendarDateAttr_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
378 wxCalendarDateAttr
* _arg0
;
380 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self","holiday", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarDateAttr_SetHoliday",_kwnames
,&_argo0
,&tempbool1
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_SetHoliday. Expected _wxCalendarDateAttr_p.");
394 _arg1
= (bool ) tempbool1
;
396 wxPy_BEGIN_ALLOW_THREADS
;
397 wxCalendarDateAttr_SetHoliday(_arg0
,_arg1
);
399 wxPy_END_ALLOW_THREADS
;
400 } Py_INCREF(Py_None
);
401 _resultobj
= Py_None
;
405 #define wxCalendarDateAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
406 static PyObject
*_wrap_wxCalendarDateAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
409 wxCalendarDateAttr
* _arg0
;
410 PyObject
* _argo0
= 0;
411 char *_kwnames
[] = { "self", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasTextColour",_kwnames
,&_argo0
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasTextColour. Expected _wxCalendarDateAttr_p.");
424 wxPy_BEGIN_ALLOW_THREADS
;
425 _result
= (bool )wxCalendarDateAttr_HasTextColour(_arg0
);
427 wxPy_END_ALLOW_THREADS
;
428 } _resultobj
= Py_BuildValue("i",_result
);
432 #define wxCalendarDateAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
433 static PyObject
*_wrap_wxCalendarDateAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
436 wxCalendarDateAttr
* _arg0
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBackgroundColour",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBackgroundColour. Expected _wxCalendarDateAttr_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (bool )wxCalendarDateAttr_HasBackgroundColour(_arg0
);
454 wxPy_END_ALLOW_THREADS
;
455 } _resultobj
= Py_BuildValue("i",_result
);
459 #define wxCalendarDateAttr_HasBorderColour(_swigobj) (_swigobj->HasBorderColour())
460 static PyObject
*_wrap_wxCalendarDateAttr_HasBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
463 wxCalendarDateAttr
* _arg0
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorderColour",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorderColour. Expected _wxCalendarDateAttr_p.");
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (bool )wxCalendarDateAttr_HasBorderColour(_arg0
);
481 wxPy_END_ALLOW_THREADS
;
482 } _resultobj
= Py_BuildValue("i",_result
);
486 #define wxCalendarDateAttr_HasFont(_swigobj) (_swigobj->HasFont())
487 static PyObject
*_wrap_wxCalendarDateAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
488 PyObject
* _resultobj
;
490 wxCalendarDateAttr
* _arg0
;
491 PyObject
* _argo0
= 0;
492 char *_kwnames
[] = { "self", NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasFont",_kwnames
,&_argo0
))
498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasFont. Expected _wxCalendarDateAttr_p.");
505 wxPy_BEGIN_ALLOW_THREADS
;
506 _result
= (bool )wxCalendarDateAttr_HasFont(_arg0
);
508 wxPy_END_ALLOW_THREADS
;
509 } _resultobj
= Py_BuildValue("i",_result
);
513 #define wxCalendarDateAttr_HasBorder(_swigobj) (_swigobj->HasBorder())
514 static PyObject
*_wrap_wxCalendarDateAttr_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
517 wxCalendarDateAttr
* _arg0
;
518 PyObject
* _argo0
= 0;
519 char *_kwnames
[] = { "self", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_HasBorder",_kwnames
,&_argo0
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_HasBorder. Expected _wxCalendarDateAttr_p.");
532 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= (bool )wxCalendarDateAttr_HasBorder(_arg0
);
535 wxPy_END_ALLOW_THREADS
;
536 } _resultobj
= Py_BuildValue("i",_result
);
540 #define wxCalendarDateAttr_IsHoliday(_swigobj) (_swigobj->IsHoliday())
541 static PyObject
*_wrap_wxCalendarDateAttr_IsHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
544 wxCalendarDateAttr
* _arg0
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_IsHoliday",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_IsHoliday. Expected _wxCalendarDateAttr_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (bool )wxCalendarDateAttr_IsHoliday(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
563 } _resultobj
= Py_BuildValue("i",_result
);
567 #define wxCalendarDateAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
568 static PyObject
*_wrap_wxCalendarDateAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 wxCalendarDateAttr
* _arg0
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetTextColour",_kwnames
,&_argo0
))
580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetTextColour. Expected _wxCalendarDateAttr_p.");
587 wxPy_BEGIN_ALLOW_THREADS
;
588 const wxColour
& _result_ref
= wxCalendarDateAttr_GetTextColour(_arg0
);
589 _result
= (wxColour
*) &_result_ref
;
591 wxPy_END_ALLOW_THREADS
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define wxCalendarDateAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
603 static PyObject
*_wrap_wxCalendarDateAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 wxCalendarDateAttr
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBackgroundColour",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBackgroundColour. Expected _wxCalendarDateAttr_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBackgroundColour(_arg0
);
624 _result
= (wxColour
*) &_result_ref
;
626 wxPy_END_ALLOW_THREADS
;
628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
629 _resultobj
= Py_BuildValue("s",_ptemp
);
632 _resultobj
= Py_None
;
637 #define wxCalendarDateAttr_GetBorderColour(_swigobj) (_swigobj->GetBorderColour())
638 static PyObject
*_wrap_wxCalendarDateAttr_GetBorderColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
641 wxCalendarDateAttr
* _arg0
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorderColour",_kwnames
,&_argo0
))
650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorderColour. Expected _wxCalendarDateAttr_p.");
657 wxPy_BEGIN_ALLOW_THREADS
;
658 const wxColour
& _result_ref
= wxCalendarDateAttr_GetBorderColour(_arg0
);
659 _result
= (wxColour
*) &_result_ref
;
661 wxPy_END_ALLOW_THREADS
;
663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
664 _resultobj
= Py_BuildValue("s",_ptemp
);
667 _resultobj
= Py_None
;
672 #define wxCalendarDateAttr_GetFont(_swigobj) (_swigobj->GetFont())
673 static PyObject
*_wrap_wxCalendarDateAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
676 wxCalendarDateAttr
* _arg0
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetFont",_kwnames
,&_argo0
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetFont. Expected _wxCalendarDateAttr_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 const wxFont
& _result_ref
= wxCalendarDateAttr_GetFont(_arg0
);
694 _result
= (wxFont
*) &_result_ref
;
696 wxPy_END_ALLOW_THREADS
;
698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
699 _resultobj
= Py_BuildValue("s",_ptemp
);
702 _resultobj
= Py_None
;
707 #define wxCalendarDateAttr_GetBorder(_swigobj) (_swigobj->GetBorder())
708 static PyObject
*_wrap_wxCalendarDateAttr_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
710 wxCalendarDateBorder _result
;
711 wxCalendarDateAttr
* _arg0
;
712 PyObject
* _argo0
= 0;
713 char *_kwnames
[] = { "self", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarDateAttr_GetBorder",_kwnames
,&_argo0
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarDateAttr_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarDateAttr_GetBorder. Expected _wxCalendarDateAttr_p.");
726 wxPy_BEGIN_ALLOW_THREADS
;
727 _result
= (wxCalendarDateBorder
)wxCalendarDateAttr_GetBorder(_arg0
);
729 wxPy_END_ALLOW_THREADS
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 static void *SwigwxCalendarEventTowxCommandEvent(void *ptr
) {
735 wxCalendarEvent
*src
;
736 wxCommandEvent
*dest
;
737 src
= (wxCalendarEvent
*) ptr
;
738 dest
= (wxCommandEvent
*) src
;
739 return (void *) dest
;
742 static void *SwigwxCalendarEventTowxEvent(void *ptr
) {
743 wxCalendarEvent
*src
;
745 src
= (wxCalendarEvent
*) ptr
;
746 dest
= (wxEvent
*) src
;
747 return (void *) dest
;
750 #define new_wxCalendarEvent(_swigarg0,_swigarg1) (new wxCalendarEvent(_swigarg0,_swigarg1))
751 static PyObject
*_wrap_new_wxCalendarEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
753 wxCalendarEvent
* _result
;
754 wxCalendarCtrl
* _arg0
;
756 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "cal","type", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxCalendarEvent",_kwnames
,&_argo0
,&_arg1
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarEvent. Expected _wxCalendarCtrl_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= (wxCalendarEvent
*)new_wxCalendarEvent(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarEvent_p");
777 _resultobj
= Py_BuildValue("s",_ptemp
);
780 _resultobj
= Py_None
;
785 #define wxCalendarEvent_GetDate(_swigobj) (_swigobj->GetDate())
786 static PyObject
*_wrap_wxCalendarEvent_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
788 wxDateTime
* _result
;
789 wxCalendarEvent
* _arg0
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetDate",_kwnames
,&_argo0
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetDate. Expected _wxCalendarEvent_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 const wxDateTime
& _result_ref
= wxCalendarEvent_GetDate(_arg0
);
807 _result
= (wxDateTime
*) &_result_ref
;
809 wxPy_END_ALLOW_THREADS
;
811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
812 _resultobj
= Py_BuildValue("s",_ptemp
);
815 _resultobj
= Py_None
;
820 #define wxCalendarEvent_GetWeekDay(_swigobj) (_swigobj->GetWeekDay())
821 static PyObject
*_wrap_wxCalendarEvent_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
823 wxDateTime::WeekDay _result
;
824 wxCalendarEvent
* _arg0
;
825 PyObject
* _argo0
= 0;
826 char *_kwnames
[] = { "self", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarEvent_GetWeekDay",_kwnames
,&_argo0
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarEvent_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarEvent_GetWeekDay. Expected _wxCalendarEvent_p.");
839 wxPy_BEGIN_ALLOW_THREADS
;
840 _result
= (wxDateTime::WeekDay
)wxCalendarEvent_GetWeekDay(_arg0
);
842 wxPy_END_ALLOW_THREADS
;
843 } _resultobj
= Py_BuildValue("i",_result
);
847 static void *SwigwxCalendarCtrlTowxControl(void *ptr
) {
850 src
= (wxCalendarCtrl
*) ptr
;
851 dest
= (wxControl
*) src
;
852 return (void *) dest
;
855 static void *SwigwxCalendarCtrlTowxWindow(void *ptr
) {
858 src
= (wxCalendarCtrl
*) ptr
;
859 dest
= (wxWindow
*) src
;
860 return (void *) dest
;
863 static void *SwigwxCalendarCtrlTowxEvtHandler(void *ptr
) {
866 src
= (wxCalendarCtrl
*) ptr
;
867 dest
= (wxEvtHandler
*) src
;
868 return (void *) dest
;
871 #define new_wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxCalendarCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
872 static PyObject
*_wrap_new_wxCalendarCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
874 wxCalendarCtrl
* _result
;
877 wxDateTime
* _arg2
= (wxDateTime
*) &wxDefaultDateTime
;
878 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
879 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
880 long _arg5
= (long ) (wxCAL_SHOW_HOLIDAYS
);
881 char * _arg6
= (char *) "calendar";
882 PyObject
* _argo0
= 0;
883 PyObject
* _argo2
= 0;
885 PyObject
* _obj3
= 0;
887 PyObject
* _obj4
= 0;
888 char *_kwnames
[] = { "parent","id","date","pos","size","style","name", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOls:new_wxCalendarCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCalendarCtrl. Expected _wxWindow_p.");
902 if (_argo2
== Py_None
) { _arg2
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCalendarCtrl. Expected _wxDateTime_p.");
911 if (! wxPoint_helper(_obj3
, &_arg3
))
917 if (! wxSize_helper(_obj4
, &_arg4
))
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= (wxCalendarCtrl
*)new_wxCalendarCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
924 wxPy_END_ALLOW_THREADS
;
926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarCtrl_p");
927 _resultobj
= Py_BuildValue("s",_ptemp
);
930 _resultobj
= Py_None
;
935 #define wxCalendarCtrl_SetDate(_swigobj,_swigarg0) (_swigobj->SetDate(_swigarg0))
936 static PyObject
*_wrap_wxCalendarCtrl_SetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxCalendarCtrl
* _arg0
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
942 char *_kwnames
[] = { "self","date", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCalendarCtrl_SetDate",_kwnames
,&_argo0
,&_argo1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetDate. Expected _wxCalendarCtrl_p.");
955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDateTime_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCalendarCtrl_SetDate. Expected _wxDateTime_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 wxCalendarCtrl_SetDate(_arg0
,*_arg1
);
965 wxPy_END_ALLOW_THREADS
;
966 } Py_INCREF(Py_None
);
967 _resultobj
= Py_None
;
971 #define wxCalendarCtrl_GetDate(_swigobj) (_swigobj->GetDate())
972 static PyObject
*_wrap_wxCalendarCtrl_GetDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
974 wxDateTime
* _result
;
975 wxCalendarCtrl
* _arg0
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetDate",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetDate. Expected _wxCalendarCtrl_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 const wxDateTime
& _result_ref
= wxCalendarCtrl_GetDate(_arg0
);
993 _result
= (wxDateTime
*) &_result_ref
;
995 wxPy_END_ALLOW_THREADS
;
997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDateTime_p");
998 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 _resultobj
= Py_None
;
1006 #define wxCalendarCtrl_EnableYearChange(_swigobj,_swigarg0) (_swigobj->EnableYearChange(_swigarg0))
1007 static PyObject
*_wrap_wxCalendarCtrl_EnableYearChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1009 wxCalendarCtrl
* _arg0
;
1010 bool _arg1
= (bool ) TRUE
;
1011 PyObject
* _argo0
= 0;
1012 int tempbool1
= (int) TRUE
;
1013 char *_kwnames
[] = { "self","enable", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableYearChange",_kwnames
,&_argo0
,&tempbool1
))
1019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableYearChange. Expected _wxCalendarCtrl_p.");
1025 _arg1
= (bool ) tempbool1
;
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 wxCalendarCtrl_EnableYearChange(_arg0
,_arg1
);
1030 wxPy_END_ALLOW_THREADS
;
1031 } Py_INCREF(Py_None
);
1032 _resultobj
= Py_None
;
1036 #define wxCalendarCtrl_EnableMonthChange(_swigobj,_swigarg0) (_swigobj->EnableMonthChange(_swigarg0))
1037 static PyObject
*_wrap_wxCalendarCtrl_EnableMonthChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1039 wxCalendarCtrl
* _arg0
;
1040 bool _arg1
= (bool ) TRUE
;
1041 PyObject
* _argo0
= 0;
1042 int tempbool1
= (int) TRUE
;
1043 char *_kwnames
[] = { "self","enable", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableMonthChange",_kwnames
,&_argo0
,&tempbool1
))
1049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableMonthChange. Expected _wxCalendarCtrl_p.");
1055 _arg1
= (bool ) tempbool1
;
1057 wxPy_BEGIN_ALLOW_THREADS
;
1058 wxCalendarCtrl_EnableMonthChange(_arg0
,_arg1
);
1060 wxPy_END_ALLOW_THREADS
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxCalendarCtrl_EnableHolidayDisplay(_swigobj,_swigarg0) (_swigobj->EnableHolidayDisplay(_swigarg0))
1067 static PyObject
*_wrap_wxCalendarCtrl_EnableHolidayDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxCalendarCtrl
* _arg0
;
1070 bool _arg1
= (bool ) TRUE
;
1071 PyObject
* _argo0
= 0;
1072 int tempbool1
= (int) TRUE
;
1073 char *_kwnames
[] = { "self","display", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCalendarCtrl_EnableHolidayDisplay",_kwnames
,&_argo0
,&tempbool1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_EnableHolidayDisplay. Expected _wxCalendarCtrl_p.");
1085 _arg1
= (bool ) tempbool1
;
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 wxCalendarCtrl_EnableHolidayDisplay(_arg0
,_arg1
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } Py_INCREF(Py_None
);
1092 _resultobj
= Py_None
;
1096 #define wxCalendarCtrl_SetHeaderColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeaderColours(_swigarg0,_swigarg1))
1097 static PyObject
*_wrap_wxCalendarCtrl_SetHeaderColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1099 wxCalendarCtrl
* _arg0
;
1102 PyObject
* _argo0
= 0;
1104 PyObject
* _obj1
= 0;
1106 PyObject
* _obj2
= 0;
1107 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHeaderColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHeaderColours. Expected _wxCalendarCtrl_p.");
1121 if (! wxColour_helper(_obj1
, &_arg1
))
1126 if (! wxColour_helper(_obj2
, &_arg2
))
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 wxCalendarCtrl_SetHeaderColours(_arg0
,*_arg1
,*_arg2
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 #define wxCalendarCtrl_GetHeaderColourFg(_swigobj) (_swigobj->GetHeaderColourFg())
1140 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 wxCalendarCtrl
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourFg",_kwnames
,&_argo0
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourFg. Expected _wxCalendarCtrl_p.");
1159 wxPy_BEGIN_ALLOW_THREADS
;
1160 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourFg(_arg0
);
1161 _result
= (wxColour
*) &_result_ref
;
1163 wxPy_END_ALLOW_THREADS
;
1165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1166 _resultobj
= Py_BuildValue("s",_ptemp
);
1169 _resultobj
= Py_None
;
1174 #define wxCalendarCtrl_GetHeaderColourBg(_swigobj) (_swigobj->GetHeaderColourBg())
1175 static PyObject
*_wrap_wxCalendarCtrl_GetHeaderColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1178 wxCalendarCtrl
* _arg0
;
1179 PyObject
* _argo0
= 0;
1180 char *_kwnames
[] = { "self", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHeaderColourBg",_kwnames
,&_argo0
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHeaderColourBg. Expected _wxCalendarCtrl_p.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 const wxColour
& _result_ref
= wxCalendarCtrl_GetHeaderColourBg(_arg0
);
1196 _result
= (wxColour
*) &_result_ref
;
1198 wxPy_END_ALLOW_THREADS
;
1200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1204 _resultobj
= Py_None
;
1209 #define wxCalendarCtrl_SetHighlightColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlightColours(_swigarg0,_swigarg1))
1210 static PyObject
*_wrap_wxCalendarCtrl_SetHighlightColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxCalendarCtrl
* _arg0
;
1215 PyObject
* _argo0
= 0;
1217 PyObject
* _obj1
= 0;
1219 PyObject
* _obj2
= 0;
1220 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHighlightColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHighlightColours. Expected _wxCalendarCtrl_p.");
1234 if (! wxColour_helper(_obj1
, &_arg1
))
1239 if (! wxColour_helper(_obj2
, &_arg2
))
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxCalendarCtrl_SetHighlightColours(_arg0
,*_arg1
,*_arg2
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1252 #define wxCalendarCtrl_GetHighlightColourFg(_swigobj) (_swigobj->GetHighlightColourFg())
1253 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1256 wxCalendarCtrl
* _arg0
;
1257 PyObject
* _argo0
= 0;
1258 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourFg",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourFg. Expected _wxCalendarCtrl_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourFg(_arg0
);
1274 _result
= (wxColour
*) &_result_ref
;
1276 wxPy_END_ALLOW_THREADS
;
1278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 _resultobj
= Py_None
;
1287 #define wxCalendarCtrl_GetHighlightColourBg(_swigobj) (_swigobj->GetHighlightColourBg())
1288 static PyObject
*_wrap_wxCalendarCtrl_GetHighlightColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 wxCalendarCtrl
* _arg0
;
1292 PyObject
* _argo0
= 0;
1293 char *_kwnames
[] = { "self", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHighlightColourBg",_kwnames
,&_argo0
))
1300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHighlightColourBg. Expected _wxCalendarCtrl_p.");
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 const wxColour
& _result_ref
= wxCalendarCtrl_GetHighlightColourBg(_arg0
);
1309 _result
= (wxColour
*) &_result_ref
;
1311 wxPy_END_ALLOW_THREADS
;
1313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1317 _resultobj
= Py_None
;
1322 #define wxCalendarCtrl_SetHolidayColours(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHolidayColours(_swigarg0,_swigarg1))
1323 static PyObject
*_wrap_wxCalendarCtrl_SetHolidayColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxCalendarCtrl
* _arg0
;
1328 PyObject
* _argo0
= 0;
1330 PyObject
* _obj1
= 0;
1332 PyObject
* _obj2
= 0;
1333 char *_kwnames
[] = { "self","colFg","colBg", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxCalendarCtrl_SetHolidayColours",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHolidayColours. Expected _wxCalendarCtrl_p.");
1347 if (! wxColour_helper(_obj1
, &_arg1
))
1352 if (! wxColour_helper(_obj2
, &_arg2
))
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 wxCalendarCtrl_SetHolidayColours(_arg0
,*_arg1
,*_arg2
);
1359 wxPy_END_ALLOW_THREADS
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 #define wxCalendarCtrl_GetHolidayColourFg(_swigobj) (_swigobj->GetHolidayColourFg())
1366 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourFg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 wxCalendarCtrl
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourFg",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourFg. Expected _wxCalendarCtrl_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourFg(_arg0
);
1387 _result
= (wxColour
*) &_result_ref
;
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxCalendarCtrl_GetHolidayColourBg(_swigobj) (_swigobj->GetHolidayColourBg())
1401 static PyObject
*_wrap_wxCalendarCtrl_GetHolidayColourBg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxCalendarCtrl
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCalendarCtrl_GetHolidayColourBg",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetHolidayColourBg. Expected _wxCalendarCtrl_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 const wxColour
& _result_ref
= wxCalendarCtrl_GetHolidayColourBg(_arg0
);
1422 _result
= (wxColour
*) &_result_ref
;
1424 wxPy_END_ALLOW_THREADS
;
1426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1430 _resultobj
= Py_None
;
1435 #define wxCalendarCtrl_GetAttr(_swigobj,_swigarg0) (_swigobj->GetAttr(_swigarg0))
1436 static PyObject
*_wrap_wxCalendarCtrl_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 wxCalendarDateAttr
* _result
;
1439 wxCalendarCtrl
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "self","day", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_GetAttr",_kwnames
,&_argo0
,&_arg1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_GetAttr. Expected _wxCalendarCtrl_p.");
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 _result
= (wxCalendarDateAttr
*)wxCalendarCtrl_GetAttr(_arg0
,_arg1
);
1459 wxPy_END_ALLOW_THREADS
;
1461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCalendarDateAttr_p");
1462 _resultobj
= Py_BuildValue("s",_ptemp
);
1465 _resultobj
= Py_None
;
1470 #define wxCalendarCtrl_SetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttr(_swigarg0,_swigarg1))
1471 static PyObject
*_wrap_wxCalendarCtrl_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1473 wxCalendarCtrl
* _arg0
;
1475 wxCalendarDateAttr
* _arg2
;
1476 PyObject
* _argo0
= 0;
1477 PyObject
* _argo2
= 0;
1478 char *_kwnames
[] = { "self","day","attr", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxCalendarCtrl_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetAttr. Expected _wxCalendarCtrl_p.");
1491 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxCalendarDateAttr_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_SetAttr. Expected _wxCalendarDateAttr_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 wxCalendarCtrl_SetAttr(_arg0
,_arg1
,_arg2
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1507 #define wxCalendarCtrl_SetHoliday(_swigobj,_swigarg0) (_swigobj->SetHoliday(_swigarg0))
1508 static PyObject
*_wrap_wxCalendarCtrl_SetHoliday(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1510 wxCalendarCtrl
* _arg0
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self","day", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_SetHoliday",_kwnames
,&_argo0
,&_arg1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_SetHoliday. Expected _wxCalendarCtrl_p.");
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 wxCalendarCtrl_SetHoliday(_arg0
,_arg1
);
1529 wxPy_END_ALLOW_THREADS
;
1530 } Py_INCREF(Py_None
);
1531 _resultobj
= Py_None
;
1535 #define wxCalendarCtrl_ResetAttr(_swigobj,_swigarg0) (_swigobj->ResetAttr(_swigarg0))
1536 static PyObject
*_wrap_wxCalendarCtrl_ResetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 wxCalendarCtrl
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self","day", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCalendarCtrl_ResetAttr",_kwnames
,&_argo0
,&_arg1
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_ResetAttr. Expected _wxCalendarCtrl_p.");
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 wxCalendarCtrl_ResetAttr(_arg0
,_arg1
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } Py_INCREF(Py_None
);
1559 _resultobj
= Py_None
;
1563 #define wxCalendarCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
1564 static PyObject
*_wrap_wxCalendarCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxCalendarHitTestResult _result
;
1567 wxCalendarCtrl
* _arg0
;
1569 wxDateTime
* _arg2
= (wxDateTime
*) NULL
;
1570 wxDateTime::WeekDay
* _arg3
= (wxDateTime::WeekDay
*) NULL
;
1571 PyObject
* _argo0
= 0;
1573 PyObject
* _obj1
= 0;
1574 PyObject
* _argo2
= 0;
1575 PyObject
* _argo3
= 0;
1576 char *_kwnames
[] = { "self","pos","date","wd", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxCalendarCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCalendarCtrl_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCalendarCtrl_HitTest. Expected _wxCalendarCtrl_p.");
1590 if (! wxPoint_helper(_obj1
, &_arg1
))
1594 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDateTime_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxCalendarCtrl_HitTest. Expected _wxDateTime_p.");
1601 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDateTime::WeekDay_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxCalendarCtrl_HitTest. Expected _wxDateTime::WeekDay_p.");
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 _result
= (wxCalendarHitTestResult
)wxCalendarCtrl_HitTest(_arg0
,*_arg1
,_arg2
,_arg3
);
1611 wxPy_END_ALLOW_THREADS
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 static PyMethodDef calendarcMethods
[] = {
1617 { "wxCalendarCtrl_HitTest", (PyCFunction
) _wrap_wxCalendarCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
1618 { "wxCalendarCtrl_ResetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_ResetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1619 { "wxCalendarCtrl_SetHoliday", (PyCFunction
) _wrap_wxCalendarCtrl_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1620 { "wxCalendarCtrl_SetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1621 { "wxCalendarCtrl_GetAttr", (PyCFunction
) _wrap_wxCalendarCtrl_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
1622 { "wxCalendarCtrl_GetHolidayColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1623 { "wxCalendarCtrl_GetHolidayColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHolidayColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1624 { "wxCalendarCtrl_SetHolidayColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHolidayColours
, METH_VARARGS
| METH_KEYWORDS
},
1625 { "wxCalendarCtrl_GetHighlightColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1626 { "wxCalendarCtrl_GetHighlightColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHighlightColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1627 { "wxCalendarCtrl_SetHighlightColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHighlightColours
, METH_VARARGS
| METH_KEYWORDS
},
1628 { "wxCalendarCtrl_GetHeaderColourBg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourBg
, METH_VARARGS
| METH_KEYWORDS
},
1629 { "wxCalendarCtrl_GetHeaderColourFg", (PyCFunction
) _wrap_wxCalendarCtrl_GetHeaderColourFg
, METH_VARARGS
| METH_KEYWORDS
},
1630 { "wxCalendarCtrl_SetHeaderColours", (PyCFunction
) _wrap_wxCalendarCtrl_SetHeaderColours
, METH_VARARGS
| METH_KEYWORDS
},
1631 { "wxCalendarCtrl_EnableHolidayDisplay", (PyCFunction
) _wrap_wxCalendarCtrl_EnableHolidayDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1632 { "wxCalendarCtrl_EnableMonthChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableMonthChange
, METH_VARARGS
| METH_KEYWORDS
},
1633 { "wxCalendarCtrl_EnableYearChange", (PyCFunction
) _wrap_wxCalendarCtrl_EnableYearChange
, METH_VARARGS
| METH_KEYWORDS
},
1634 { "wxCalendarCtrl_GetDate", (PyCFunction
) _wrap_wxCalendarCtrl_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1635 { "wxCalendarCtrl_SetDate", (PyCFunction
) _wrap_wxCalendarCtrl_SetDate
, METH_VARARGS
| METH_KEYWORDS
},
1636 { "new_wxCalendarCtrl", (PyCFunction
) _wrap_new_wxCalendarCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1637 { "wxCalendarEvent_GetWeekDay", (PyCFunction
) _wrap_wxCalendarEvent_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
1638 { "wxCalendarEvent_GetDate", (PyCFunction
) _wrap_wxCalendarEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
},
1639 { "new_wxCalendarEvent", (PyCFunction
) _wrap_new_wxCalendarEvent
, METH_VARARGS
| METH_KEYWORDS
},
1640 { "wxCalendarDateAttr_GetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1641 { "wxCalendarDateAttr_GetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
1642 { "wxCalendarDateAttr_GetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxCalendarDateAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "wxCalendarDateAttr_GetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxCalendarDateAttr_IsHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_IsHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxCalendarDateAttr_HasBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxCalendarDateAttr_HasFont", (PyCFunction
) _wrap_wxCalendarDateAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxCalendarDateAttr_HasBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxCalendarDateAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxCalendarDateAttr_HasTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxCalendarDateAttr_SetHoliday", (PyCFunction
) _wrap_wxCalendarDateAttr_SetHoliday
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxCalendarDateAttr_SetBorder", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxCalendarDateAttr_SetFont", (PyCFunction
) _wrap_wxCalendarDateAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxCalendarDateAttr_SetBorderColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBorderColour
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxCalendarDateAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "wxCalendarDateAttr_SetTextColour", (PyCFunction
) _wrap_wxCalendarDateAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "new_wxCalendarDateAttrBorder", (PyCFunction
) _wrap_new_wxCalendarDateAttrBorder
, METH_VARARGS
| METH_KEYWORDS
},
1658 { "new_wxCalendarDateAttr", (PyCFunction
) _wrap_new_wxCalendarDateAttr
, METH_VARARGS
| METH_KEYWORDS
},
1665 * This table is used by the pointer type-checker
1667 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1668 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1669 { "_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1670 { "_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1671 { "_wxEvent","_class_wxEvent",0},
1672 { "_class_wxActivateEvent","_wxActivateEvent",0},
1673 { "_signed_long","_long",0},
1674 { "_wxMenuEvent","_class_wxMenuEvent",0},
1675 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
1676 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
1677 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1678 { "_class_wxDateTime","_wxDateTime",0},
1679 { "_wxPrintQuality","_wxCoord",0},
1680 { "_wxPrintQuality","_int",0},
1681 { "_wxPrintQuality","_signed_int",0},
1682 { "_wxPrintQuality","_unsigned_int",0},
1683 { "_wxPrintQuality","_wxWindowID",0},
1684 { "_wxPrintQuality","_uint",0},
1685 { "_wxPrintQuality","_EBool",0},
1686 { "_wxPrintQuality","_size_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","_unsigned_int",0},
1724 { "_size_t","_int",0},
1725 { "_size_t","_wxWindowID",0},
1726 { "_size_t","_uint",0},
1727 { "_class_wxRealPoint","_wxRealPoint",0},
1728 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
1729 { "_wxPrinterDC","_class_wxPrinterDC",0},
1730 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
1731 { "_class_wxMenuItem","_wxMenuItem",0},
1732 { "_class_wxPaintEvent","_wxPaintEvent",0},
1733 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1734 { "_wxPanel","_class_wxPanel",0},
1735 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1736 { "_wxCheckBox","_class_wxCheckBox",0},
1737 { "_wxPyEvent","_class_wxPyEvent",0},
1738 { "_wxTextCtrl","_class_wxTextCtrl",0},
1739 { "_class_wxMask","_wxMask",0},
1740 { "_wxTextDataObject","_class_wxTextDataObject",0},
1741 { "_class_wxKeyEvent","_wxKeyEvent",0},
1742 { "_wxFileConfig","_class_wxFileConfig",0},
1743 { "_wxColour","_class_wxColour",0},
1744 { "_class_wxDialog","_wxDialog",0},
1745 { "_class_wxFileDataObject","_wxFileDataObject",0},
1746 { "_wxIdleEvent","_class_wxIdleEvent",0},
1747 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1748 { "_class_wxDataObject","_wxDataObject",0},
1749 { "_wxStaticLine","_class_wxStaticLine",0},
1750 { "_wxBrush","_class_wxBrush",0},
1751 { "_wxDataFormat","_class_wxDataFormat",0},
1752 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
1753 { "_wxShowEvent","_class_wxShowEvent",0},
1754 { "_uint","_wxCoord",0},
1755 { "_uint","_wxPrintQuality",0},
1756 { "_uint","_size_t",0},
1757 { "_uint","_unsigned_int",0},
1758 { "_uint","_int",0},
1759 { "_uint","_wxWindowID",0},
1760 { "_wxChar","_char",0},
1761 { "_wxPyValidator","_class_wxPyValidator",0},
1762 { "_class_wxEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1763 { "_class_wxEvent","_wxCalendarEvent",SwigwxCalendarEventTowxEvent
},
1764 { "_class_wxEvent","_wxEvent",0},
1765 { "_wxCheckListBox","_class_wxCheckListBox",0},
1766 { "_wxRect","_class_wxRect",0},
1767 { "_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1768 { "_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1769 { "_wxCommandEvent","_class_wxCommandEvent",0},
1770 { "_wxSizeEvent","_class_wxSizeEvent",0},
1771 { "_wxPoint","_class_wxPoint",0},
1772 { "_class_wxButton","_wxButton",0},
1773 { "_wxRadioBox","_class_wxRadioBox",0},
1774 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
1775 { "_char","_wxChar",0},
1776 { "_wxBitmap","_class_wxBitmap",0},
1777 { "_wxWindowDC","_class_wxWindowDC",0},
1778 { "_wxTimerEvent","_class_wxTimerEvent",0},
1779 { "_wxScrollBar","_class_wxScrollBar",0},
1780 { "_wxSpinButton","_class_wxSpinButton",0},
1781 { "_wxCalendarEvent","_class_wxCalendarEvent",0},
1782 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1783 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1784 { "_class_wxValidator","_wxValidator",0},
1785 { "_class_wxPyEvent","_wxPyEvent",0},
1786 { "_wxConfig","_class_wxConfig",0},
1787 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1788 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1789 { "_class_wxFileConfig","_wxFileConfig",0},
1790 { "_wxDropTarget","_class_wxDropTarget",0},
1791 { "_class_wxStaticLine","_wxStaticLine",0},
1792 { "_wxScrollEvent","_class_wxScrollEvent",0},
1793 { "_EBool","_wxCoord",0},
1794 { "_EBool","_wxPrintQuality",0},
1795 { "_EBool","_signed_int",0},
1796 { "_EBool","_int",0},
1797 { "_EBool","_wxWindowID",0},
1798 { "_class_wxRegion","_wxRegion",0},
1799 { "_class_wxDataFormat","_wxDataFormat",0},
1800 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1801 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
1802 { "_wxStaticText","_class_wxStaticText",0},
1803 { "_wxFont","_class_wxFont",0},
1804 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
1805 { "_wxCloseEvent","_class_wxCloseEvent",0},
1806 { "_unsigned_long","_long",0},
1807 { "_class_wxRect","_wxRect",0},
1808 { "_class_wxDC","_wxDC",0},
1809 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1810 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
1811 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
1812 { "_wxTimeSpan","_class_wxTimeSpan",0},
1813 { "_wxFocusEvent","_class_wxFocusEvent",0},
1814 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1815 { "_class_wxTimerEvent","_wxTimerEvent",0},
1816 { "_class_wxSpinButton","_wxSpinButton",0},
1817 { "_class_wxCalendarEvent","_wxCalendarEvent",0},
1818 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1819 { "_class_wxPanel","_wxPanel",0},
1820 { "_class_wxCheckBox","_wxCheckBox",0},
1821 { "_wxComboBox","_class_wxComboBox",0},
1822 { "_wxRadioButton","_class_wxRadioButton",0},
1823 { "_signed_int","_wxCoord",0},
1824 { "_signed_int","_wxPrintQuality",0},
1825 { "_signed_int","_EBool",0},
1826 { "_signed_int","_wxWindowID",0},
1827 { "_signed_int","_int",0},
1828 { "_class_wxTextCtrl","_wxTextCtrl",0},
1829 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1830 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1831 { "_class_wxTextDataObject","_wxTextDataObject",0},
1832 { "_wxMenu","_class_wxMenu",0},
1833 { "_class_wxMoveEvent","_wxMoveEvent",0},
1834 { "_wxListBox","_class_wxListBox",0},
1835 { "_wxScreenDC","_class_wxScreenDC",0},
1836 { "_class_wxCalendarCtrl","_wxCalendarCtrl",0},
1837 { "_WXTYPE","_wxDateTime_t",0},
1838 { "_WXTYPE","_short",0},
1839 { "_WXTYPE","_signed_short",0},
1840 { "_WXTYPE","_unsigned_short",0},
1841 { "_class_wxDropTarget","_wxDropTarget",0},
1842 { "_class_wxBrush","_wxBrush",0},
1843 { "_unsigned_short","_wxDateTime_t",0},
1844 { "_unsigned_short","_WXTYPE",0},
1845 { "_unsigned_short","_short",0},
1846 { "_class_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1847 { "_class_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
1848 { "_class_wxWindow","_wxWindow",0},
1849 { "_wxDateSpan","_class_wxDateSpan",0},
1850 { "_class_wxStaticText","_wxStaticText",0},
1851 { "_class_wxFont","_wxFont",0},
1852 { "_wxClipboard","_class_wxClipboard",0},
1853 { "_class_wxPyValidator","_wxPyValidator",0},
1854 { "_class_wxCloseEvent","_wxCloseEvent",0},
1855 { "_wxBusyInfo","_class_wxBusyInfo",0},
1856 { "_class_wxMenuEvent","_wxMenuEvent",0},
1857 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1858 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1859 { "_wxClientDC","_class_wxClientDC",0},
1860 { "_wxMouseEvent","_class_wxMouseEvent",0},
1861 { "_class_wxPoint","_wxPoint",0},
1862 { "_wxRealPoint","_class_wxRealPoint",0},
1863 { "_class_wxRadioBox","_wxRadioBox",0},
1864 { "_signed_short","_WXTYPE",0},
1865 { "_signed_short","_short",0},
1866 { "_wxMemoryDC","_class_wxMemoryDC",0},
1867 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1868 { "_wxPaintDC","_class_wxPaintDC",0},
1869 { "_class_wxWindowDC","_wxWindowDC",0},
1870 { "_class_wxFocusEvent","_wxFocusEvent",0},
1871 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1872 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1873 { "_class_wxCursor","_wxCursor",0},
1874 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1875 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1876 { "_wxCalendarDateAttr","_class_wxCalendarDateAttr",0},
1877 { "_unsigned_char","_byte",0},
1878 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1879 { "_class_wxMenu","_wxMenu",0},
1880 { "_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1881 { "_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1882 { "_wxControl","_class_wxControl",0},
1883 { "_class_wxListBox","_wxListBox",0},
1884 { "_unsigned_int","_wxCoord",0},
1885 { "_unsigned_int","_wxPrintQuality",0},
1886 { "_unsigned_int","_size_t",0},
1887 { "_unsigned_int","_uint",0},
1888 { "_unsigned_int","_wxWindowID",0},
1889 { "_unsigned_int","_int",0},
1890 { "_wxIcon","_class_wxIcon",0},
1891 { "_wxDialog","_class_wxDialog",0},
1892 { "_class_wxPen","_wxPen",0},
1893 { "_wxConfigBase","_class_wxConfigBase",0},
1894 { "_short","_wxDateTime_t",0},
1895 { "_short","_WXTYPE",0},
1896 { "_short","_unsigned_short",0},
1897 { "_short","_signed_short",0},
1898 { "_class_wxStaticBox","_wxStaticBox",0},
1899 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1900 { "_class_wxPyDropSource","_wxPyDropSource",0},
1901 { "_class_wxScrollEvent","_wxScrollEvent",0},
1902 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1903 { "_class_wxChoice","_wxChoice",0},
1904 { "_class_wxSlider","_wxSlider",0},
1905 { "_class_wxImageList","_wxImageList",0},
1906 { "_class_wxBitmapButton","_wxBitmapButton",0},
1907 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1908 { "_wxWindowID","_wxCoord",0},
1909 { "_wxWindowID","_wxPrintQuality",0},
1910 { "_wxWindowID","_size_t",0},
1911 { "_wxWindowID","_EBool",0},
1912 { "_wxWindowID","_uint",0},
1913 { "_wxWindowID","_int",0},
1914 { "_wxWindowID","_signed_int",0},
1915 { "_wxWindowID","_unsigned_int",0},
1916 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1917 { "_int","_wxCoord",0},
1918 { "_int","_wxPrintQuality",0},
1919 { "_int","_size_t",0},
1920 { "_int","_EBool",0},
1921 { "_int","_uint",0},
1922 { "_int","_wxWindowID",0},
1923 { "_int","_unsigned_int",0},
1924 { "_int","_signed_int",0},
1925 { "_class_wxMouseEvent","_wxMouseEvent",0},
1926 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1927 { "_wxDateTime_t","_unsigned_short",0},
1928 { "_wxDateTime_t","_short",0},
1929 { "_wxDateTime_t","_WXTYPE",0},
1930 { "_class_wxSpinEvent","_wxSpinEvent",0},
1931 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1932 { "_wxDateTime","_class_wxDateTime",0},
1933 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1934 { "_wxButton","_class_wxButton",0},
1935 { "_wxSize","_class_wxSize",0},
1936 { "_wxRegionIterator","_class_wxRegionIterator",0},
1937 { "_class_wxPrinterDC","_wxPrinterDC",0},
1938 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1939 { "_class_wxTimeSpan","_wxTimeSpan",0},
1940 { "_class_wxPaintDC","_wxPaintDC",0},
1941 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1942 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1943 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1944 { "_class_wxComboBox","_wxComboBox",0},
1945 { "_class_wxRadioButton","_wxRadioButton",0},
1946 { "_wxValidator","_class_wxValidator",0},
1947 { "_class_wxCalendarDateAttr","_wxCalendarDateAttr",0},
1948 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1949 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1950 { "_class_wxControl","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1951 { "_class_wxControl","_wxCalendarCtrl",SwigwxCalendarCtrlTowxControl
},
1952 { "_class_wxControl","_wxControl",0},
1953 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1954 { "_class_wxIcon","_wxIcon",0},
1955 { "_class_wxColour","_wxColour",0},
1956 { "_class_wxScreenDC","_wxScreenDC",0},
1957 { "_wxPalette","_class_wxPalette",0},
1958 { "_class_wxIdleEvent","_wxIdleEvent",0},
1959 { "_class_wxConfigBase","_wxConfigBase",0},
1960 { "_wxCoord","_int",0},
1961 { "_wxCoord","_signed_int",0},
1962 { "_wxCoord","_unsigned_int",0},
1963 { "_wxCoord","_wxWindowID",0},
1964 { "_wxCoord","_uint",0},
1965 { "_wxCoord","_EBool",0},
1966 { "_wxCoord","_size_t",0},
1967 { "_wxCoord","_wxPrintQuality",0},
1968 { "_wxEraseEvent","_class_wxEraseEvent",0},
1969 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1970 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1971 { "_wxRegion","_class_wxRegion",0},
1972 { "_class_wxDateSpan","_wxDateSpan",0},
1973 { "_class_wxShowEvent","_wxShowEvent",0},
1974 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1975 { "_wxActivateEvent","_class_wxActivateEvent",0},
1976 { "_wxGauge","_class_wxGauge",0},
1977 { "_class_wxCheckListBox","_wxCheckListBox",0},
1978 { "_class_wxBusyInfo","_wxBusyInfo",0},
1979 { "_class_wxCommandEvent","_class_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1980 { "_class_wxCommandEvent","_wxCalendarEvent",SwigwxCalendarEventTowxCommandEvent
},
1981 { "_class_wxCommandEvent","_wxCommandEvent",0},
1982 { "_class_wxClientDC","_wxClientDC",0},
1983 { "_class_wxSizeEvent","_wxSizeEvent",0},
1984 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1985 { "_class_wxSize","_wxSize",0},
1986 { "_class_wxBitmap","_wxBitmap",0},
1987 { "_class_wxMemoryDC","_wxMemoryDC",0},
1988 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1989 { "_wxMenuBar","_class_wxMenuBar",0},
1990 { "_wxEvtHandler","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1991 { "_wxEvtHandler","_wxCalendarCtrl",SwigwxCalendarCtrlTowxEvtHandler
},
1992 { "_wxEvtHandler","_class_wxEvtHandler",0},
1993 { "_wxMenuItem","_class_wxMenuItem",0},
1994 { "_class_wxScrollBar","_wxScrollBar",0},
1995 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1996 { "_class_wxConfig","_wxConfig",0},
1997 { "_wxKeyEvent","_class_wxKeyEvent",0},
1998 { "_wxMoveEvent","_class_wxMoveEvent",0},
1999 { "_wxCalendarCtrl","_class_wxCalendarCtrl",0},
2000 { "_class_wxPalette","_wxPalette",0},
2001 { "_wxFileDataObject","_class_wxFileDataObject",0},
2002 { "_class_wxEraseEvent","_wxEraseEvent",0},
2003 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2004 { "_wxWindow","_class_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2005 { "_wxWindow","_wxCalendarCtrl",SwigwxCalendarCtrlTowxWindow
},
2006 { "_wxWindow","_class_wxWindow",0},
2007 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2010 static PyObject
*SWIG_globals
;
2014 SWIGEXPORT(void) initcalendarc() {
2016 SWIG_globals
= SWIG_newvarlink();
2017 m
= Py_InitModule("calendarc", calendarcMethods
);
2018 d
= PyModule_GetDict(m
);
2019 PyDict_SetItemString(d
,"wxCAL_SUNDAY_FIRST", PyInt_FromLong((long) wxCAL_SUNDAY_FIRST
));
2020 PyDict_SetItemString(d
,"wxCAL_MONDAY_FIRST", PyInt_FromLong((long) wxCAL_MONDAY_FIRST
));
2021 PyDict_SetItemString(d
,"wxCAL_SHOW_HOLIDAYS", PyInt_FromLong((long) wxCAL_SHOW_HOLIDAYS
));
2022 PyDict_SetItemString(d
,"wxCAL_NO_YEAR_CHANGE", PyInt_FromLong((long) wxCAL_NO_YEAR_CHANGE
));
2023 PyDict_SetItemString(d
,"wxCAL_NO_MONTH_CHANGE", PyInt_FromLong((long) wxCAL_NO_MONTH_CHANGE
));
2024 PyDict_SetItemString(d
,"wxCAL_HITTEST_NOWHERE", PyInt_FromLong((long) wxCAL_HITTEST_NOWHERE
));
2025 PyDict_SetItemString(d
,"wxCAL_HITTEST_HEADER", PyInt_FromLong((long) wxCAL_HITTEST_HEADER
));
2026 PyDict_SetItemString(d
,"wxCAL_HITTEST_DAY", PyInt_FromLong((long) wxCAL_HITTEST_DAY
));
2027 PyDict_SetItemString(d
,"wxCAL_BORDER_NONE", PyInt_FromLong((long) wxCAL_BORDER_NONE
));
2028 PyDict_SetItemString(d
,"wxCAL_BORDER_SQUARE", PyInt_FromLong((long) wxCAL_BORDER_SQUARE
));
2029 PyDict_SetItemString(d
,"wxCAL_BORDER_ROUND", PyInt_FromLong((long) wxCAL_BORDER_ROUND
));
2030 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_DOUBLECLICKED
));
2031 PyDict_SetItemString(d
,"wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_SEL_CHANGED
));
2032 PyDict_SetItemString(d
,"wxEVT_CALENDAR_DAY_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_DAY_CHANGED
));
2033 PyDict_SetItemString(d
,"wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_MONTH_CHANGED
));
2034 PyDict_SetItemString(d
,"wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong((long) wxEVT_CALENDAR_YEAR_CHANGED
));
2035 PyDict_SetItemString(d
,"wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong((long) wxEVT_CALENDAR_WEEKDAY_CLICKED
));
2038 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2039 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);